lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Novin <toe.al...@gmail.com>
Subject Re: Block Join query
Date Sat, 12 Dec 2015 00:01:09 GMT
No Worries, I was just wondering what did I miss.  And thanks for blog link.

On 11/12/2015 18:52, Mikhail Khludnev wrote:
> 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
>>
>>
>>
>>
>>
>


Mime
View raw message