Re: exact field match

2009-01-26 Thread Svein Parnas
Another solution is to put a special token in front and end of every occurence of the field, eg aastartaa in front an zzendzz in the end (a solution looking like Fasts boundary match feature behind the hood), You could then search for exact match ("aastartaa your phrase zzendzz"), and you w

Re: exact field match

2009-01-26 Thread Antonio Zippo
it works... thanks for your help bye Da: Erick Erickson A: solr-user@lucene.apache.org Inviato: Lunedì 26 gennaio 2009, 20:29:17 Oggetto: Re: exact field match You need to index and search using something like KeywordAnalyzer. That analyzer does no

Re: exact field match

2009-01-26 Thread Erick Erickson
You need to index and search using something like KeywordAnalyzer. That analyzer does no tokenizing/ data transformation or such. For instance, it doesn't fold case. You will be unable to search for "bond" and get a hit in this case, so one solution is to use two fields, and search one or the othe