lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: Indexing part number
Date Tue, 02 Oct 2001 22:55:52 GMT
Try using org.apache.lucene.analysis.standard.StandardAnalyzer instead of
StopAnalyzer.  This will index numbers, etc.  Have a look at
StandardTokenizer.jj in the sources for details.  If that grammar is not
quite right, copy it and compile your own tokenizer.

Doug

> -----Original Message-----
> From: Jean-Marc Bertinchamps [mailto:jmbertinchamps@edpsa.com]
> Sent: Tuesday, October 02, 2001 6:22 AM
> To: lucene-user@jakarta.apache.org
> Subject: Indexing part number
> 
> 
> Does anybody could let me know what should be changed in the 
> "IndexFiles"
> demo to let met index and query "pure" digit part number. 
> Currently only
> alphabetic query seem to work, digit and special characters 
> (-, _, /, ...)
> are ignored.
> 
> Thanks
> 
> Jean-Marc Bertinchamps
> 
> 

Mime
View raw message