Hi Ariel,

As Koji mentioned, https://issues.apache.org/jira/browse/SOLR-448 contains a 
NumberFilter.  It filters out tokens that successfully parse as Doubles.  I'm 
not sure, since the examples you gave seem to use "," as the decimal character, 
how this interacts with the Locale.  (Koji, I don't see any ","-as-decimal 
tests in your patch.)

There is another one here that filters out tokens that have an initial digit 
character:

<http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200405.mbox/%3cpine.lnx.4.58.0405011916170.23...@eros.its.deakin.edu.au%3e>

Steve

On 4/8/2009 at 1:43 PM, Ariel wrote:
> I would want to know how Can I make an analyzer that ignore the numbers
> o the texts like the stop words are ignored ??? For example that the
> terms : 3.8, 100, 4.15, 4,33 don't be added to the index.
> How can I do that ???
> 
> Regards
> Ariel


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to