[ 
https://issues.apache.org/jira/browse/LUCENE-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596413#comment-13596413
 ] 

Uwe Schindler commented on LUCENE-3907:
---------------------------------------

bq. Back grams would work for leading wildcards. They might be useful for 
things where the head is at the end (tail-first?), like domain names.

If you need reverse n-grams, you could always add a filter to do that 
afterwards. There is no need to have this as separate logic in *this* filter. 
We should split logic and keep filters as simple as possible.
                
> Improve the Edge/NGramTokenizer/Filters
> ---------------------------------------
>
>                 Key: LUCENE-3907
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3907
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Uwe Schindler
>              Labels: gsoc2012, lucene-gsoc-12
>             Fix For: 4.2
>
>
> Our ngram tokenizers/filters could use some love.  EG, they output ngrams in 
> multiple passes, instead of "stacked", which messes up offsets/positions and 
> requires too much buffering (can hit OOME for long tokens).  They clip at 
> 1024 chars (tokenizers) but don't (token filters).  The split up surrogate 
> pairs incorrectly.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to