You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by thiaga rajan <ec...@yahoo.co.in.INVALID> on 2016/06/13 15:33:20 UTC

Traversal Filter in Graphical Query parser

Hi - I am using graphical query parser that was introduced in Solr 6. On the traversal filter, i have provided conditions on one of the field and it is working fine. But i was not able to provide conditions on multiple fields.
Please find the below query. 
Working - {!graph from=HIERARCHY_LEVEL_PARENT_KEY to=HIERARCHY_LEVEL_KEY  traversalFilter=HIERARCHY_ID:2000001}(HIERARCHY_ID:2000001 AND (HIERARCHY_LEVEL_KEY:451 OR  HIERARCHY_LEVEL_KEY:59734))
Not working{!graph from=HIERARCHY_LEVEL_PARENT_KEY to=HIERARCHY_LEVEL_KEY  traversalFilter=HIERARCHY_ID:2000001 OR DWH_COLUMN_NAME:P1_NO}(HIERARCHY_ID:2000001 AND (HIERARCHY_LEVEL_KEY:451 OR  HIERARCHY_LEVEL_KEY:59734))
Am i missing something here?