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: Help with a slow filter query
Date Tue, 07 Oct 2014 17:11:42 GMT
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-FunctionRangeQueryParser
http://lucene.apache.org/solr/4_10_0/solr-core/org/apache/solr/search/FunctionRangeQParserPlugin.html
re "this syntax"
https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries

On Tue, Oct 7, 2014 at 6:56 PM, heaven <aheaven87@gmail.com> wrote:

> 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.
>



-- 
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