You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/03/06 17:11:00 UTC

[jira] [Commented] (SOLR-9027) Add GraphTermsQuery to limit traversal on high frequency nodes

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

David Smiley commented on SOLR-9027:
------------------------------------

I was looking back at {{GraphTermsQuery}} today during the course analyzing usages of non-cached filters.  It occurred to me that we didn't need yet another query parser to name.  To the user, this is semantically equivalent as the existing {{terms}} query parser with the added feature of an optional {{maxDocFreq}}.  We still need the code that was written here, however.  Also, the name "graph" in this QP seems a bit strange.  Yes, it's useful for higher level graph operations but that doesn't mean the query itself (low level) is doing any graph traversal -- it isn't.

> Add GraphTermsQuery to limit traversal on high frequency nodes
> --------------------------------------------------------------
>
>                 Key: SOLR-9027
>                 URL: https://issues.apache.org/jira/browse/SOLR-9027
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Joel Bernstein
>            Priority: Minor
>             Fix For: 6.1
>
>         Attachments: SOLR-9027.patch, SOLR-9027.patch, SOLR-9027.patch, SOLR-9027.patch
>
>
> The gatherNodes() Streaming Expression is currently using a basic disjunction query to perform the traversals. This ticket is to create a specific GraphTermsQuery for performing the traversals. 
> The GraphTermsQuery will be based off of the TermsQuery, but will also include an option for a docFreq cutoff. Terms that are above the docFreq cutoff will not be included in the query. This will help users do a more precise and efficient traversal.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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