Re: which analyzer for exact matchs

2011-05-30 Thread bmdakshinamur...@gmail.com
I think you are looking for a keyword analyzer. http://lucene.apache.org/java/3_0_2/api/core/org/apache/lucene/analysis/KeywordAnalyzer.html On Mon, May 30, 2011 at 8:48 PM, G.Long wrote: > Hello :) > > I'm wondering which Analyzer would be the best to query exact value for a > property. I read

Re: which analyzer for exact matchs

2011-05-31 Thread bmdakshinamur...@gmail.com
dardAnalyzer or a more > specific one like EnglishAnalyzer or FrenchAnalyzer (assuming the content I > want to index is only in english or only in french) ? > > Regards, > > Le 30/05/2011 17:25, bmdakshinamur...@gmail.com a écrit : > > I think you are lookin

Re: Lucene Indexing

2011-06-07 Thread bmdakshinamur...@gmail.com
If i understand the requirement correctly, contract is one document in your system which in turn contains some *'n*' fields. Contract_ID is the key in all the documents(Structures). Contract_ID is the only field you want to retrieve no matter on what field you search for. If this is the case, store