You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by David Yang <dy...@nextjump.com> on 2010/08/26 20:32:46 UTC
A few query issues with solr
Hi,
I'm new to using Solr, and I have started an index with it and it works
great. I have encountered a few minor issues that I currently solve by
modifying the query beforehand - however I feel like there is a much
more configuration oriented and Solr-correct way of achieving.
Current manual modifications
* Searching for "car" actually means buying a car so it should
look for "car -rent", whereas searching for "car rent" should still look
for "car rent"
* Searching for "macy's" and searching for "macys" is different
- currently I force macy's to macys
* Searching for "at&t" gets converted to "at", "t" which are
both stop worded - I am forced to convert at&t=>att before indexing and
querying
Is there a nice way to handle these or will I always need to resort to
manual fixes for these?
Cheers
David
Re: A few query issues with solr
Posted by Markus Jelsma <ma...@buyways.nl>.
For solving the car/car-rent issue you'll need to add a SynonymFilter to your
analyzer chain and configure it accordingly.
On Friday 27 August 2010 13:40:15 hemantverma09@gmail.com wrote:
> this link will help you:
> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimi
> terFilterFactory
>
Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350
Re: A few query issues with solr
Posted by "hemantverma09@gmail.com" <he...@gmail.com>.
this link will help you:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory
--
View this message in context: http://lucene.472066.n3.nabble.com/A-few-query-issues-with-solr-tp1358081p1369261.html
Sent from the Solr - User mailing list archive at Nabble.com.