Hi
Storing documentkey as TEXT will be causing it to be passed through
StandardAnalyzer which will be downcasing it, and the index will be
holding "lfahbhmf" rather than "LFAHBHMF". When you changed
it to KEYWORD it will have been stored as is so the
updateDocument(term, doc) call will h
rited project) - I will do some
reading as you suggested.
Thanks
Leonard
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, August 03, 2009 2:21 AM
To: java-user@lucene.apache.org
Subject: Re: question about indexing/searching using standardanalyzer for
KEYWORD field
Leonard,
Make sure the "key" or "id" fields are not analyzed and that should solve your
problems.
You are using some older version of Lucene?
Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
- Original Mess