lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nemani, Raj" <Raj.Nem...@turner.com>
Subject Term searches with colon(:)
Date Fri, 07 Sep 2012 23:04:16 GMT
All,

I was wondering if anybody has run into this issue before. Solr is not
returing any search results for word that contain  colon ( : ) in it
when we perform a term search containing colon.  We do escape this
correctly, I believe as shown in the sample (taken from tomcat logs)

 

Sep 06, 2012 11:30:01 PM org.apache.solr.core.SolrCore execute

INFO: [] webapp=/XXXXX path=/select
params={q=+(*\:*)+&rows=100&version=2.2} hits=0 status=0 QTime=0 

 

On the other hand if we prefix the term with a field name, we get
correct results as shown below

 

Sep 06, 2012 11:30:29 PM org.apache.solr.core.SolrCore execute

INFO: [] webapp=/XXXXX path=/select
params={q=(+description:*\:*)&rows=100&version=2.2} hits=1 status=0
QTime=0 

 

Did anybody encounter this behavior before?

 

Any help is appreciated and Thank you in advance

 

Raj

 

 

 


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