lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Negoda <dmitry.neg...@gmail.com>
Subject Weird case combination problem
Date Wed, 13 Apr 2011 19:49:41 GMT
Hi!

I'm using Lucene 2.9.3 together with Solr. I have a product named "Apple 
iPhone 4" in my database and I am running Phrase queries against that 
name like this:

http://10.122.229.147:8984/solr/select?q=(name:%22Apple+iPhone%22)%20AND%20%2B(oid:1003)

The product is found.

http://10.122.229.147:8984/solr/select?q=(name:%22apple+iPhone%22)%20AND%20%2B(oid:1003)

Found again...

http://10.122.229.147:8984/solr/select?q=(name:%22apple+iphone%22)%20AND%20%2B(oid:1003)

Not found. The only change was in the capital letter of "iPhone". But 
that is not the end of it:

http://10.122.229.147:8984/solr/select?q=(name:%22iphone+4%22)%20AND%20%2B(oid:1003)

Found!

So, the problem is not in the  'iPhone' word, its in the specific 
combination of upper case/lower case letters.

Tried to re-import documents into solr, still no luck...

I could publish my entire search index if that would help...

-- 
Regards,

Dmitry Negoda<Dmitry.Negoda@gmail.com>


Mime
View raw message