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

2009-08-02 Thread Leonard Gestrin
Hello, I have question about KEYWORD type and searching/updating. I am getting strange behavior that I can't quite comprehend. My index is created using standard analyzer, which used for writing and searching. It has three fields userpin - alphanumeric field which is stored as TEXT documentkey

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
IR - Original Message > From: Leonard Gestrin > To: "java-user@lucene.apache.org" > Sent: Sunday, August 2, 2009 10:49:27 PM > Subject: question about indexing/searching using standardanalyzer for KEYWORD > field that contains alphanumeric data > >