Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Mike Klaas
See https://issues.apache.org/jira/browse/SOLR-293 for one solution. -Mike On 10-Dec-07, at 8:48 AM, Brendan Grainger wrote: Hi Matt, Thanks for the reply. I've done what you said and I get exactly what you're saying as a result. Any ideas about how to make 2WD and 4WD be terms on their o

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Matt Kangas
I suppose you'll have to take WordDelimiterFilter out of your analysis chain, at least for that field. Or, perhaps toggling the "generateNumberParts" argument will have some effect? The API documentation should be your best resource here... --matt On Dec 10, 2007, at 11:48 AM, Brendan Grai

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Brendan Grainger
Hi Matt, Thanks for the reply. I've done what you said and I get exactly what you're saying as a result. Any ideas about how to make 2WD and 4WD be terms on their own? THanks On Dec 10, 2007, at 11:41 AM, Matt Kangas wrote: Brendan, pull up your Solr Admin "Analysis" page and try running

Re: Issue with 2WD and 4WD in query

2007-12-10 Thread Matt Kangas
Brendan, pull up your Solr Admin "Analysis" page and try running your queries through that. The output will tell you precisely how each analyzer affects your tokens on either the index or query side. In my own quick test, WordDelimiterFilterFactory seems inclined to break "2WD" into ("2","W

Issue with 2WD and 4WD in query

2007-12-09 Thread Brendan Grainger
Hi, I hope you can help me. I'm having an odd problem with solr. I have a field that could be represent a car. A car could have a name like "Silverado" or could be something like "Silverado 2WD" to denote the 2 wheel drive version of the car. Anyway, all is well when I search over the fie