lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: Block Join query
Date Fri, 11 Dec 2015 18:52:51 GMT
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 <novin@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>
<mkhludnev@griddynamics.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message