[
https://issues.apache.org/jira/browse/SOLR-18197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086910#comment-18086910
]
Abhishek Umarjikar commented on SOLR-18197:
-------------------------------------------
So this should end up in having an overrides method in NestPathFIeld that gives
field query object having such logic to decide whether this should give roots
or its children. I can work on this and prepare PR.
> Query _nest_path_ (NestPathField) ease-of-use
> ---------------------------------------------
>
> Key: SOLR-18197
> URL: https://issues.apache.org/jira/browse/SOLR-18197
> Project: Solr
> Issue Type: Improvement
> Components: search
> Reporter: David Smiley
> Priority: Major
> Labels: newdev
>
> The {{\_nest\_path\_}} / {{NestPathField}} could use some ease-of-use
> affordances, particularly for when searching for root documents. Thanks to
> the ways that the FieldType gets plugged into query parsers (especially
> FieldType.getFieldQuery), we should be able to override that method so that
> we support the following query:
> {noformat}
> {!field f=_nest_path_ v=/}{noformat}
> As equivalent to today:
> {noformat}
> (*:* -{!prefix f=_nest_path_ v=/}){noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]