Novin,

I regret so much. It's my pet peeve in Solr query parsing. Handling s space
is dependent from the first symbol of query sting
This will work (starts from '{!' ):
q={!parent which="doctype:200"}flow:[624 TO 700]
These won't due to " ", "+":
q= {!parent which="doctype:200"}flow:[624 TO 700]
q=+{!parent which="doctype:200"}flow:[624 TO 700]
Subordinate clauses with spaces are better handled with "Nested Queries" or
so, check the post
<http://blog.griddynamics.com/2013/12/grandchildren-and-siblings-with-block.html>


On Fri, Dec 11, 2015 at 6:31 PM, Novin <no...@temetra.com> wrote:

> Hi Guys,
>
> I'm trying  block join query, so I have tried   +{!parent
> which="doctype:200"}flow:624     worked fine. But when i tried +{!parent
> which="doctype:200"}flow:[624 TO 700]
>
> Got the below error
>
> org.apache.solr.search.SyntaxError: Cannot parse 'flow_l:[624':
> Encountered \"<EOF>\" at line 1, column 11.\nWas expecting one of:\n
> \"TO\" ...\n    <RANGE_QUOTED> ...\n <RANGE_GOOP> ...\n
>
> Just wondering too, can we able to do range in block join query.
>
> Thanks,
> Novin
>
>
>
>
>


-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to