lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviran" <>
Subject RE: Null or no analyzer
Date Wed, 20 Oct 2004 13:55:22 GMT
AFIK if the term "Election 2004" will be between quotation marks this should
work fine.


-----Original Message-----
From: Morus Walter [] 
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 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 (which doesn't seem to be the case). The only alternatives are not
using query parser or extending query parser for a key word syntax, as far
as I can see.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message