lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-2227) separate chararrayset interface from impl
Date Thu, 09 May 2013 23:06:12 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated LUCENE-2227:
----------------------------------

    Fix Version/s:     (was: 4.3)
                   4.4
    
> separate chararrayset interface from impl
> -----------------------------------------
>
>                 Key: LUCENE-2227
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2227
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: modules/analysis
>    Affects Versions: 3.0
>            Reporter: Robert Muir
>            Priority: Minor
>             Fix For: 4.4
>
>
> CharArraySet should be abstract
> the hashing implementation currently being used should instead be called CharArrayHashSet
> currently our 'CharArrayHashSet' is hardcoded across Lucene, but others might want their
own impl.
> For example, implementing CharArraySet as DFA with org.apache.lucene.util.automaton gives
faster contains(char[], int, int) performance, as it can do a 'fast fail' and need not hash
the entire string.
> This is useful as it speeds up indexing in StopFilter.
> I did not think this would be faster but i did benchmarks over and over with the reuters
corpus, and it is, even with english text's wierd average word length of 5

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message