[
https://issues.apache.org/jira/browse/SOLR-9027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260169#comment-15260169
]
David Smiley commented on SOLR-9027:
------------------------------------
Because this query is intentionally non-cacheable (unlike just about all other
Query's) I think it's okay to get away with putting the TermContexts on the
Query. I wouldn't do it out of principle unless there was no other reasonable
way, but that's me. Maybe the fact that it's not cached could be made more
explicit to others reading the code. Might you implement ExtendedQuery to to
have getCache return true to make this more guaranteed?
bq. Also thanks for reviewing!
no prob. sorry for not providing input _before_ you committed.
> 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
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]