在尝试为包含text_general字段的文档编制索引时,我收到以下错误: Exception writing document id 93cf6aeb-54b0-471a-9325-5b8e95801131 to the index; possible analysis error: cannot change field "content" from index options=DOCS to inconsistent index options=DOCS_AND_FREQS_AND_POSITIONS 我尝试索引的文档如下所示: {
"filename&
我对solr中特殊字符的搜索有问题。我的文档有一个字段“标题”,有时它可以像“泰坦尼克号- 1999”(它有字符"-")。当我试图用"-“在solr中搜索时,我会收到一个400错误。我试图逃避这个角色,所以我尝试了"-“和"-”之类的东西。使用这些更改,solr不会用错误来响应我,但是它返回0结果。
如何在solr管理员中搜索该特殊字符(类似于"-“或”“?)
问候
更新在这里您可以看到我当前的solr方案
我搜索的是字段“标题”。
摘录自schema.xml:
...
<!-- A general text field that ha
我对搜索上下文有一些奇怪的问题。我从查询中得到0个结果,以防d.Path.StartsWith存在。
我看到path字段包含完整路径且在index/中是正确的/我想要查找从某个sitecore路径开始的字段,但没有成功。我在后台使用Solr。
string path = "/sitecore/blabla"; //just for example
var contextIndex = ContentSearchManager.GetIndex("sitecore_master_index");
using (var context = contextIndex.
在普通的C#控制台应用程序中运行得很好。基于此,我们已经开始使用。试图使用相同的regex查询某个字段的Solr实例,引发异常,如下所示
java.lang.IllegalArgumentException: expected ']' at position 70 at org.apache.lucene.util.automaton.RegExp.parseCharClassExp(RegExp.java:1087)
我是Solr的新手,并在solr POC上工作。我在StackOverflow中搜索了一个类似的问题,但是找不到我正在尝试使用Solr4.2.1索引包含管道分离数据的文本文件的问题。下面是示例数据的片段
cust_id|name1|name2|name3|dob|address|city|pincode|phone|idenfication|salary
1001000003|John|D|Doe|31081962|H-904, Green Mandion, M G Rd, Santacruz(east)|mumbai|400056|9812030334|AMXPT7702P|50000.