David Smiley created SOLR-13326:
-----------------------------------

             Summary: Introduce new nest path query parser
                 Key: SOLR-13326
                 URL: https://issues.apache.org/jira/browse/SOLR-13326
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers
            Reporter: David Smiley


Since the advent of the special field  _nest_path_ (for nested documents), the 
{{[child childFilter=...]}} query supports a barely documented syntax for 
matching children based on the path in this field.  It's currently implemented 
here: 
`org.apache.solr.response.transform.ChildDocTransformerFactory#processPathHierarchyQueryString`.
  It occurred to me that this would be better formed as a query parser so that 
it might be used in other contexts.  Furthermore the block join query parsers 
could detect and use it just as the child doc transformer does so today. _This 
is just an idea; I haven't fully thought it through._

One small change I'd suggest to the current detection logic is that if the 
query starts with a '{' then don't try to guess if it's a path style query.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to