[solr] solr 中的indexed 和stored有点不明白

diddyrock 2009-12-24
error log有没有贴全啊
http://localhost:8080/solr/update?wt=javabin&version=1 这个request后面是不是少参数啊
kan_si_fang 2013-01-05
你在config/schema.xml文件中配置id name没有呀
u012737788 2016-07-27
indexed 和Stored 的区别

index=true,Stored =true   分词储存数据和整体储存数据都有  使用场景 (既要查询,也要返回)

index=true ,Stored =false  分词储存数据,不整齐储存数据 使用场景 (既要查询)如果返回 和index=true,Stored =true 的区别,就是节省了空间的但是运算量加大。

index=false stored=true  不分词储存数据,整体储存 使用场景 (不查询,大需要返回)

index=false stored=false  一般不用,不查询不反悔,储存他干嘛,当然也可以为了节约资源 适用于  不查询,只返回
Global site tag (gtag.js) - Google Analytics