You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/07/01 16:38:04 UTC

[jira] [Updated] (LUCENE-6640) Remove dependency of lucene/suggest on oal.search.Filter

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

Adrien Grand updated LUCENE-6640:
---------------------------------
    Attachment: LUCENE-6640.patch

Here is an updated patch. I added special casing for Bits.MatchNoBits in CompletionWeight in order to restore this circuit break when the filter does not match anything.

> Remove dependency of lucene/suggest on oal.search.Filter
> --------------------------------------------------------
>
>                 Key: LUCENE-6640
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6640
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>         Attachments: LUCENE-6640.patch, LUCENE-6640.patch
>
>
> oal.search.Filter is on the way out, yet the suggest module is still using it in order to filter suggestions and it can't be replaced with queries given that true (out-of-order) random access is required.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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