Re: WordDelimiterFilter usage
Thanks Hoss - it is a finite list, but in the tens of thousands. I'm going to easy route -- adding another field that indexes the terms with no included whitespace. This is used in an ajax-style lookup, so it works for this scenario. Not something I'd normally do in a typical index, for sure. thanks, jeff On 1/11/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: WordDelimiterFilter wo't really help you in this situations ... but it would help if you find a lot of users are searching for ColdPlay or cold-play. if you have a finite list of popular terms like this that you need to deal with, the SynonymFilter can help you out. : Date: Thu, 11 Jan 2007 13:30:39 -0800 : From: Jeff Rodenburg <[EMAIL PROTECTED]> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: WordDelimiterFilter usage : : I'm trying to determine how to index/query for a certain use case, and the : WordDelimiterFilterFactory appears to be what I need to use. Here's the : scenario: : : - Text field being indexed : - Field exists as a full name : - Data might be "cold play" : - This should match against searches for "cold play" and "coldplay" (just : "cold" and just "play" are OK as well) : : I'm not able to match "cold play" against searches for "coldplay" at : present. I'm certain this is a common scenario and I'm missing something : obvious. Any suggestions of how/where to look/fix this issue? : : thanks, : j : -Hoss
Re: WordDelimiterFilter usage
WordDelimiterFilter wo't really help you in this situations ... but it would help if you find a lot of users are searching for ColdPlay or cold-play. if you have a finite list of popular terms like this that you need to deal with, the SynonymFilter can help you out. : Date: Thu, 11 Jan 2007 13:30:39 -0800 : From: Jeff Rodenburg <[EMAIL PROTECTED]> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: WordDelimiterFilter usage : : I'm trying to determine how to index/query for a certain use case, and the : WordDelimiterFilterFactory appears to be what I need to use. Here's the : scenario: : : - Text field being indexed : - Field exists as a full name : - Data might be "cold play" : - This should match against searches for "cold play" and "coldplay" (just : "cold" and just "play" are OK as well) : : I'm not able to match "cold play" against searches for "coldplay" at : present. I'm certain this is a common scenario and I'm missing something : obvious. Any suggestions of how/where to look/fix this issue? : : thanks, : j : -Hoss
WordDelimiterFilter usage
I'm trying to determine how to index/query for a certain use case, and the WordDelimiterFilterFactory appears to be what I need to use. Here's the scenario: - Text field being indexed - Field exists as a full name - Data might be "cold play" - This should match against searches for "cold play" and "coldplay" (just "cold" and just "play" are OK as well) I'm not able to match "cold play" against searches for "coldplay" at present. I'm certain this is a common scenario and I'm missing something obvious. Any suggestions of how/where to look/fix this issue? thanks, j