lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zotter <robertzot...@gmail.com>
Subject Re: Should ASCIIFoldingFilter be deprecated?
Date Tue, 08 Feb 2011 16:00:34 GMT
unsubscribe

On 2/8/11 7:05 AM, David Smiley (@MITRE.org) wrote:
>
> Robert Muir wrote:
>> On Tue, Feb 8, 2011 at 9:12 AM, David Smiley (@MITRE.org)
>> <DSMILEY@mitre.org>  wrote:
>>
>>> I'm skeptical that whatever the difference is is relevant in the scheme
>>> of
>>> things. The cost to keeping it is introducing confusion on users, and
>>> more
>>> code to maintain.
>>>
>> its pretty significant. charfilters are not reusable, and box every
>> character and lookup out of a hashmap (i made a patch to fix the
>> reusability, but no one has commented) :
>> https://issues.apache.org/jira/browse/LUCENE-2788
>>
>> asciifoldingfilter does a huge switch (which still isnt optimal), but
>> its way way faster than mappingcharfilter, especially since its a
>> no-op for chars<  0x7F.
>>
> Well then I see a path forward to speed up MappingCharFilter substantially.
> There's your LUCENE-2788, and then you could easily add the same no-op
> optimization for the smallest char value in the HashMap.
>
> -----
>   Author: https://www.packtpub.com/solr-1-4-enterprise-search-server/book

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message