lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heaven <aheave...@gmail.com>
Subject Re: Help with a slow filter query
Date Tue, 07 Oct 2014 14:56:51 GMT
The syntax for frange query parser is weird:
{!frange cache=false cost=200 l=2001-01-01T00:00:00Z
u=2013-12-01T23:59:59Z}nominated_at_d
or simply
{!frange cache=false cost=200 u=2013-12-01T23:59:59Z}nominated_at_d

And I don't see any docs in Solr wiki explaining this syntax, these examples
above I've found at third parties' blogs.

I would expect something like
{!frange cache=false cost=200}created_at_d:[* TO 2014-09-08T23:59:59Z]
but this fails with a syntax error. What is "I" and what is "U"?

I hardly imagine how this could be used in a real world application (e.g.
how to implement this syntax in Sunspot gem for Rails,  etc). Is there a
wiki that explains frange parser in more details?

Thank you,
Alexander



--
View this message in context: http://lucene.472066.n3.nabble.com/Help-with-a-slow-filter-query-tp4158159p4163151.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message