Dear Solr,
I am using Solr 4.8.1 with 2 shard nodes on a collection
I have a query using the function query features and grouping
start=60&rows=0&fq=((expireTime:[NOW TO *] ) OR (*:* NOT
expireTime:*))&q=_val_:"sum(mul(sub(1,div(div(sub(1525875131635,publishTime),8640),180)),0.2),if(max(0,su
: i want to query documents which match a certain dynamic criteria.
: like, How do i get all documents, where sub(field1,field2) < 0 ?
:
: i tried _val_: sub(field1,field2) and used fq:[_val_:[0 TO *]
take a look at the frange QParser...
https://lucene.apache.org/solr/4_3_0/solr-core/org/apache
Hi
i want to query documents which match a certain dynamic criteria.
like, How do i get all documents, where sub(field1,field2) < 0 ?
i tried _val_: sub(field1,field2) and used fq:[_val_:[0 TO *]
But it doesnt work.
./Zahoor
context:
http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3395385.html
Sent from the Solr - User mailing list archive at Nabble.com.
: solr-spec-version
: 4.0.0.2011.07.19.16.15.08
: solr-impl-version
: 4.0-SNAPSHOT ${svnversion} - ad895d - 2011-07-19 16:15:08
Uh, ok ... that doesn't really answer my question at all.
According to that info, your version of solr was *built* on 2011-07-19,
using
--
View this message in context:
http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3395106.html
Sent from the Solr - User mailing list archive at Nabble.com.
: Subject: Re: sorting using function query results are notin order
:
: that was it..COunt was not indexed...works fine now
Hmmm... which version of solr are you using?
what exactly is the FieldType of your "Count" field?
Since Solr 3.1, attempting to use a function on a non-ind
that was it..COunt was not indexed...works fine now
--
View this message in context:
http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3394876.html
Sent from the Solr - User mailing list archive at Nabble.com.
> {
> "Count":117,
> "UserQuery":"how to block calls",
> "score":0.7171961,
> "query({!dismax qf=UserQuery v='how'})":0.7171961,
> "sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961},
> {
> "Count":109,
> "UserQuery":"how to call forward",
> "score":0.7171961,
> "query({!dismax qf=UserQuery v='how'})":0.7171961,
> "sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961},
> {
> "Count":79,
> "UserQuery":"how do I pay my bill?",
> "score":0.7171961,
> "query({!dismax qf=UserQuery v='how'})":0.7171961,
> "sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961}]
> },
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3390926.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
any help?
--
View this message in context:
http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3393781.html
Sent from the Solr - User mailing list archive at Nabble.com.
quot;:0.7171961,
"query({!dismax qf=UserQuery v='how'})":0.7171961,
"sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961},
{
"Count":109,
"UserQuery":"how to call forward",
"score":0.7171961,
"query({!dismax qf=UserQuery v='how'})":0.7171961,
"sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961},
{
"Count":79,
"UserQuery":"how do I pay my bill?",
"score":0.7171961,
"query({!dismax qf=UserQuery v='how'})":0.7171961,
"sum(Count,query({!dismax qf=UserQuery v='how'}))":0.7171961}]
},
--
View this message in context:
http://lucene.472066.n3.nabble.com/sorting-using-function-query-results-are-notin-order-tp3390926p3390926.html
Sent from the Solr - User mailing list archive at Nabble.com.
: I used the standard handler to retrieve the documents where "ghi" or "xyz"
: are present (http://localhost:8983/solr/select/?q=ghi+xyz&debugQuery=1).
: When the results are returned, the document with id = 50 is returned last,
: since the string "ghi" is not found. I wanted to test if the score
=8002264&framed=y
for the
function query discussion.
Thanks.
--
View this message in context:
http://www.nabble.com/Boosting-using-function-query...-tf288.html#a8067832
Sent from the Solr - User mailing list archive at Nabble.com.
:I wanted to know what param should be used to provide a function query
: boost. Given two records
: that have the same relevance, I want to boost one record over the other
: based on a numeric field
: called profile_score.
from the standard request handler you can add something like...
/Using-function-query...-tf2863431.html#a8001963
Sent from the Solr - User mailing list archive at Nabble.com.
15 matches
Mail list logo