lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eyyub Çil <ecil4fo...@gmail.com>
Subject ComplexPhrase WildCard Case Sensitivy problem
Date Sat, 25 Mar 2017 16:21:51 GMT
Hello,

I have a problem with ComplexPhrase and TurkishLowerCaseFilterFactory.

When I search like {!complexphrase}SContent_tinx:"6* YAŞINDA",
{!complexphrase}SContent_tinx:"6* yaşında", results is correct.

{ "responseHeader":{ "zkConnected":true, "status":0, "QTime":104, "params":{
"q":"{!complexphrase}SContent_tinx:\"6* YAŞINDa\"", "debug":"query", "indent
":"on", "rows":"0", "wt":"json", "_":"1490456571184"}}, "response":{"
numFound":15,"start":0,"maxScore":5972.9,"docs":[] }, "debug":{ "
rawquerystring":"{!complexphrase}SContent_tinx:\"6* YAŞINDa\"", "querystring
":"{!complexphrase}SContent_tinx:\"6* YAŞINDa\"",
"parsedquery":"ComplexPhraseQuery(\"6*
YAŞINDa\")", "parsedquery_toString":"\"6* YAŞINDa\"", "QParser":
"ComplexPhraseQParser"}}


But If I want to search like {!complexphrase}SContent_tinx:"60 YAŞIND*" or
{!complexphrase}SContent_tinx:"60 yaşınd*", *NumFound is 0* or result
changes according to  Case Sensitive condition.
{ "responseHeader":{ "zkConnected":true, "status":0, "QTime":10, "params":{
"q":"{!complexphrase}SContent_tinx:\"60 YAŞIND*\"", "debug":"query", "indent
":"on", "rows":"0", "wt":"json", "_":"1490456571184"}}, "response":{"
numFound":0,"start":0,"maxScore":0.0,"docs":[] }, "debug":{ "rawquerystring
":"{!complexphrase}SContent_tinx:\"60 YAŞIND*\"",
"querystring":"{!complexphrase}SContent_tinx:\"60
YAŞIND*\"", "parsedquery":"ComplexPhraseQuery(\"60 YAŞIND*\")", "
parsedquery_toString":"\"60 YAŞIND*\"", "QParser":"ComplexPhraseQParser"}}


What is reason of this?  How can I solve this?

Thank All

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message