[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to