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

Otis Gospodnetic updated LUCENE-1296:
-------------------------------------

Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
Fix Version/s: 2.9
Allow use of compact DocIdSet in CachingWrapperFilter
-----------------------------------------------------

Key: LUCENE-1296
URL: https://issues.apache.org/jira/browse/LUCENE-1296
Project: Lucene - Java
Issue Type: New Feature
Components: Search
Reporter: Paul Elschot
Assignee: Michael McCandless
Priority: Minor
Fix For: 2.9

Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch


Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
--
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

Search Discussions

  • Paul Elschot (JIRA) at Nov 12, 2008 at 5:12 pm
    [ https://issues.apache.org/jira/browse/LUCENE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646954#action_12646954 ]

    Paul Elschot commented on LUCENE-1296:
    --------------------------------------

    {quote}Also, why not put your logic to sometimes choose a SortedVIntList impl intoCachingWrapperFilter.docIdSetToCache by default?{quote}

    The main reason is that there are circumstances under which skipTo() is faster on an OpenBitSet than on a SortedVIntList. OpenBitSet allows random access, so it can start the skip from any point, but SortedVIntList can only start the skip from its current position.
    OTOH SortedVIntList does have the advantage of being smaller when the set is sparse, and this may bring garbage collection advantages.
    In all, not completely convincing either way.


    Allow use of compact DocIdSet in CachingWrapperFilter
    -----------------------------------------------------

    Key: LUCENE-1296
    URL: https://issues.apache.org/jira/browse/LUCENE-1296
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: Paul Elschot
    Assignee: Michael McCandless
    Priority: Minor
    Fix For: 2.9

    Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch


    Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
    --
    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
  • Michael McCandless (JIRA) at Nov 21, 2008 at 9:54 pm
    [ https://issues.apache.org/jira/browse/LUCENE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649816#action_12649816 ]

    Michael McCandless commented on LUCENE-1296:
    --------------------------------------------

    Paul are you going to pull together another patch here?
    Allow use of compact DocIdSet in CachingWrapperFilter
    -----------------------------------------------------

    Key: LUCENE-1296
    URL: https://issues.apache.org/jira/browse/LUCENE-1296
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: Paul Elschot
    Assignee: Michael McCandless
    Priority: Minor
    Fix For: 2.9

    Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch


    Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
    --
    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
  • Paul Elschot (JIRA) at Nov 21, 2008 at 11:41 pm
    [ https://issues.apache.org/jira/browse/LUCENE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Paul Elschot updated LUCENE-1296:
    ---------------------------------

    Attachment: LUCENE-1296.patch

    Adds a docIdSetToCache method to CachingWrapperFilter.
    Removes the choice of a compact underlying data structure from contrib filters.
    Allow use of compact DocIdSet in CachingWrapperFilter
    -----------------------------------------------------

    Key: LUCENE-1296
    URL: https://issues.apache.org/jira/browse/LUCENE-1296
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: Paul Elschot
    Assignee: Michael McCandless
    Priority: Minor
    Fix For: 2.9

    Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch, LUCENE-1296.patch


    Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
    --
    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
  • Michael McCandless (JIRA) at Nov 22, 2008 at 10:09 am
    [ https://issues.apache.org/jira/browse/LUCENE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649908#action_12649908 ]

    Michael McCandless commented on LUCENE-1296:
    --------------------------------------------

    It looks like the patch removed finalResult from contrib's ChainedFilter but not from contrib's BooleanFilter?
    Allow use of compact DocIdSet in CachingWrapperFilter
    -----------------------------------------------------

    Key: LUCENE-1296
    URL: https://issues.apache.org/jira/browse/LUCENE-1296
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: Paul Elschot
    Assignee: Michael McCandless
    Priority: Minor
    Fix For: 2.9

    Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch, LUCENE-1296.patch


    Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
    --
    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
  • Paul Elschot (JIRA) at Nov 22, 2008 at 1:49 pm
    [ https://issues.apache.org/jira/browse/LUCENE-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Paul Elschot updated LUCENE-1296:
    ---------------------------------

    Attachment: LUCENE-1296b.patch

    This time with finalResult() also removed from BooleanFilter.
    Allow use of compact DocIdSet in CachingWrapperFilter
    -----------------------------------------------------

    Key: LUCENE-1296
    URL: https://issues.apache.org/jira/browse/LUCENE-1296
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: Paul Elschot
    Assignee: Michael McCandless
    Priority: Minor
    Fix For: 2.9

    Attachments: cachedFilter20080529.patch, cachedFilter20080605.patch, LUCENE-1296.patch, LUCENE-1296b.patch


    Extends CachingWrapperFilter with a protected method to determine the DocIdSet to be cached.
    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-dev @
categorieslucene
postedNov 12, '08 at 5:00p
activeNov 22, '08 at 1:49p
posts6
users1
websitelucene.apache.org

1 user in discussion

Paul Elschot (JIRA): 6 posts

People

Translate

site design / logo © 2021 Grokbase