Re: Null or no analyzer

2004-10-21 Thread Morus Walter
Erik Hatcher writes: however perhaps it should be. Or perhaps there are other options to solve this recurring dilemma folks have with Field.Keyword indexed fields and QueryParser? I think one could introduce a special syntax in query parser for keyword fields. Query parser wouldn't

Re: Null or no analyzer

2004-10-21 Thread Erik Hatcher
I don't like the idea of users having to know how a field was indexed though. That seems to defeat the purpose of a general-purpose QueryParser. Erik On Oct 21, 2004, at 2:38 AM, Morus Walter wrote: Erik Hatcher writes: however perhaps it should be. Or perhaps there are other options

Re: Null or no analyzer

2004-10-21 Thread sergiu gordea
Erik Hatcher wrote: I don't like the idea of users having to know how a field was indexed though. That seems to defeat the purpose of a general-purpose QueryParser. Erik I agree that, but maybe lucene should provide some subclasses of QueryParser that should deal this problems. I'm just a

Re: Null or no analyzer

2004-10-21 Thread Erik Hatcher
On Oct 21, 2004, at 5:38 AM, sergiu gordea wrote: Erik Hatcher wrote: I don't like the idea of users having to know how a field was indexed though. That seems to defeat the purpose of a general-purpose QueryParser. Erik I agree that, but maybe lucene should provide some subclasses of

Re: Null or no analyzer

2004-10-21 Thread sergiu gordea
Erik Hatcher wrote: On Oct 21, 2004, at 5:38 AM, sergiu gordea wrote: Erik Hatcher wrote: I don't like the idea of users having to know how a field was indexed though. That seems to defeat the purpose of a general-purpose QueryParser. Erik I agree that, but maybe lucene should provide

RE: Null or no analyzer

2004-10-20 Thread Morus Walter
Aviran writes: You can use WhiteSpaceAnalyzer Can he? If Elections 2004 is one token in the subject field (keyword), this will fail, since WhiteSpeceAnalyzer will tokenize that to `Elections' and `2004'. So I guess he has to write an identity analyzer himself unless there is one provided

RE: Null or no analyzer

2004-10-20 Thread Aviran
AFIK if the term Election 2004 will be between quotation marks this should work fine. Aviran http://aviran.mordos.com -Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 2:25 AM To: Lucene Users List Subject: RE: Null or no analyzer Aviran

Re: Null or no analyzer

2004-10-20 Thread Erik Hatcher
: Wednesday, October 20, 2004 2:25 AM To: Lucene Users List Subject: RE: Null or no analyzer Aviran writes: You can use WhiteSpaceAnalyzer Can he? If Elections 2004 is one token in the subject field (keyword), this will fail, since WhiteSpeceAnalyzer will tokenize that to `Elections' and `2004'. So I

RE: Null or no analyzer

2004-10-20 Thread Rupinder Singh Mazara
that the query parser is already geared up to do regards Rupinder -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 16:29 To: Lucene Users List Subject: Re: Null or no analyzer On Oct 20, 2004, at 9:55 AM, Aviran wrote: AFIK if the term Election 2004

Re: Null or no analyzer

2004-10-20 Thread sergiu gordea
Aviran http://aviran.mordos.com -Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 2:25 AM To: Lucene Users List Subject: RE: Null or no analyzer Aviran writes: You can use WhiteSpaceAnalyzer Can he? If Elections 2004 is one token

RE: Null or no analyzer

2004-10-20 Thread Rupinder Singh Mazara
List Subject: RE: Null or no analyzer Aviran writes: You can use WhiteSpaceAnalyzer Can he? If Elections 2004 is one token in the subject field (keyword), this will fail, since WhiteSpeceAnalyzer will tokenize that to `Elections' and `2004'. So I guess he has to write an identity analyzer

Re: Null or no analyzer

2004-10-20 Thread Sergiu Gordea
, 2004 2:25 AM To: Lucene Users List Subject: RE: Null or no analyzer Aviran writes: You can use WhiteSpaceAnalyzer Can he? If Elections 2004 is one token in the subject field (keyword), this will fail, since WhiteSpeceAnalyzer will tokenize that to `Elections' and `2004'. So I

RE: Null or no analyzer

2004-10-19 Thread Aviran
You can use WhiteSpaceAnalyzer Aviran http://aviran.mordos.com -Original Message- From: Rupinder Singh Mazara [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 11:23 AM To: Lucene Users List Subject: Null or no analyzer Hi All I have a question regarding selection of