lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiroaki Kawai (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1229) NGramTokenFilter optimization in query phase
Date Fri, 14 Mar 2008 02:35:24 GMT

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

Hiroaki Kawai updated LUCENE-1229:
----------------------------------

    Attachment: NGramTokenFilter.patch

Added a patch NGramTokenFilter.patch. This patch includes LUCENE-1224 .

> NGramTokenFilter optimization in query phase
> --------------------------------------------
>
>                 Key: LUCENE-1229
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1229
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/*
>            Reporter: Hiroaki Kawai
>         Attachments: NGramTokenFilter.patch
>
>
> I found that NGramTokenFilter-ed token stream could be optimized in query.
> A standard 1,2 NGramTokenFilter will generate a token stream from "abcde" as follows:
> a ab b bc c cd d de e
> When we index "abcde", we'll use all of the tokens.
> But when we query, we only need:
> ab cd de

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message