FAQ
Add DocsetQuery to turn a DocIdSet into a query
-----------------------------------------------

Key: LUCENE-2007
URL: https://issues.apache.org/jira/browse/LUCENE-2007
Project: Lucene - Java
Issue Type: New Feature
Components: Search
Reporter: John Wang


Added a class DocsetQuery that can be constructed from a DocIdSet.

--
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 Oct 24, 2009 at 3:10 pm
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769664#action_12769664 ]

    Paul Elschot commented on LUCENE-2007:
    --------------------------------------

    Could ConstantScoreQuery(Filter) be used for this?
    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
  • John Wang (JIRA) at Oct 24, 2009 at 3:10 pm
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    John Wang updated LUCENE-2007:
    ------------------------------

    Attachment: LUCENE-2007.patch

    contributed from bobo.
    Still work needed:

    1) reader.isDeleted is now called. Which perhaps should be optimized to avoid synchronized call.
    2) don''t what the query syntax would be for this, so toString is not properly implemented.
    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
  • John Wang (JIRA) at Oct 24, 2009 at 3:16 pm
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    John Wang updated LUCENE-2007:
    ------------------------------

    Attachment: LUCENE-2007-2.patch

    fixed to use reader.termDocs(null) for delete check.

    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007-2.patch, LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
  • Uwe Schindler (JIRA) at Oct 24, 2009 at 3:20 pm
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769667#action_12769667 ]

    Uwe Schindler commented on LUCENE-2007:
    ---------------------------------------

    It is exactly the same like ConstantScoreQuery, the only difference is that it gets an DocIdSet as parameter. My problem with it: How should this work with Multi-Segment indexes (because search is done on each segment) and once the iterator is exhausted it cannot be used anymore and how does the query know, for which segment the query applies?
    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007-2.patch, LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
  • John Wang (JIRA) at Oct 24, 2009 at 4:02 pm
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769674#action_12769674 ]

    John Wang commented on LUCENE-2007:
    -----------------------------------

    Both Paul and Uwe are absolutely correct!
    I had blindly add this without looking around to see other solutions within Lucene.
    The constructor of ConstantScoreQuery using Filter is exactly the answer to Uwe's question on segmented readers.
    Thanks!

    -John
    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007-2.patch, LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
  • John Wang (JIRA) at Dec 15, 2009 at 10:15 am
    [ https://issues.apache.org/jira/browse/LUCENE-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    John Wang closed LUCENE-2007.
    -----------------------------

    Resolution: Won't Fix
    Add DocsetQuery to turn a DocIdSet into a query
    -----------------------------------------------

    Key: LUCENE-2007
    URL: https://issues.apache.org/jira/browse/LUCENE-2007
    Project: Lucene - Java
    Issue Type: New Feature
    Components: Search
    Reporter: John Wang
    Attachments: LUCENE-2007-2.patch, LUCENE-2007.patch


    Added a class DocsetQuery that can be constructed from a DocIdSet.
    --
    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
groupdev @
categorieslucene
postedOct 24, '09 at 2:54p
activeDec 15, '09 at 10:15a
posts7
users1
websitelucene.apache.org

1 user in discussion

John Wang (JIRA): 7 posts

People

Translate

site design / logo © 2021 Grokbase