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

David Smiley commented on SOLR-18197:
-------------------------------------

An empty string should be equivalent as well.

> Querying _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]

Reply via email to