Re: question about indexing/searching using standardanalyzer for KEYWORD field that contains alphanumeric data

2009-08-03 Thread Ian Lea
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

RE: question about indexing/searching using standardanalyzer for KEYWORD field that contains alphanumeric data

2009-08-03 Thread Leonard Gestrin
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

Re: question about indexing/searching using standardanalyzer for KEYWORD field that contains alphanumeric data

2009-08-04 Thread Otis Gospodnetic
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