Problem when using function query with group by field, rows=0 is not effect

2018-05-09 Thread Chris Lam
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

Re: Query using function query result

2013-05-08 Thread Chris Hostetter
: 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

Query using function query result

2013-04-02 Thread J Mohamed Zahoor
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

Re: sorting using function query results are notin order

2011-10-04 Thread abhayd
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.

Re: sorting using function query results are notin order

2011-10-04 Thread Chris Hostetter
: 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

Re: sorting using function query results are notin order

2011-10-04 Thread abhayd
-- 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.

Re: sorting using function query results are notin order

2011-10-04 Thread Chris Hostetter
: 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

Re: sorting using function query results are notin order

2011-10-04 Thread abhayd
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.

Re: sorting using function query results are notin order

2011-10-04 Thread Yonik Seeley
>      { >        "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. >

Re: sorting using function query results are notin order

2011-10-04 Thread abhayd
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.

sorting using function query results are notin order

2011-10-03 Thread abhayd
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.

Re: Boosting using function query...

2006-12-28 Thread Chris Hostetter
: 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

Boosting using function query...

2006-12-27 Thread escher2k
=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.

Re: Using function query...

2006-12-20 Thread Chris Hostetter
: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...

2006-12-20 Thread hknetomica
/Using-function-query...-tf2863431.html#a8001963 Sent from the Solr - User mailing list archive at Nabble.com.