开发者

indexing with solr

I'm using solrj to index data, I have created some new field in schema.xml, when I try to index data by java I have to use all new fields, if I don't use one of this new field I have 开发者_JAVA百科an exception org.apache.solr.common.solrexception bad request Can I index Data with fields that I choose?


Because all of your defined fields in schema.xml has set the attribute "required" as "true". Set the attribute to false and the field is not longer necessary for each document.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜