Re: function query result without queryNorm

2015-07-07 Thread Lee Chunki
lso, >>> consider using boost parameter instead of bf, it is multiplicative where bf >>> is just additive, which offers less control. You may also want to reduce >>> time resolution by using NOW/HOUR or NOW/DAY. It saves you a lot of bad >>> cache entries. >

Re: function query result without queryNorm

2015-07-07 Thread Upayavira
gt; consider using boost parameter instead of bf, it is multiplicative where bf > > is just additive, which offers less control. You may also want to reduce > > time resolution by using NOW/HOUR or NOW/DAY. It saves you a lot of bad > > cache entries. > > > > Mark

Re: function query result without queryNorm

2015-07-07 Thread Lee Chunki
s > > -Original message- >> From:Lee Chunki >> Sent: Tuesday 7th July 2015 13:29 >> To: solr-user@lucene.apache.org >> Subject: function query result without queryNorm >> >> Hi, >> >> I want to add some value to score. >> >&

RE: function query result without queryNorm

2015-07-07 Thread Markus Jelsma
resolution by using NOW/HOUR or NOW/DAY. It saves you a lot of bad cache entries. Markus -Original message- > From:Lee Chunki > Sent: Tuesday 7th July 2015 13:29 > To: solr-user@lucene.apache.org > Subject: function query result without queryNorm > > Hi, > > I w

function query result without queryNorm

2015-07-07 Thread Lee Chunki
Hi, I want to add some value to score. so, I tried to use “bf” but it returns value * queryNorm for example, when I use q=iphone&bf=div(ms(NOW,start_time),360) solr returns 799.5687 = (MATCH) FunctionQuery(div(ms(const(1436268218591),date(start_time)),const(360))), product of:

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: Function query result as a filter query

2009-09-22 Thread Yonik Seeley
It's probably not exactly what you're looking for, but you can do ranges over functions in Solr 1.4 http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/ -Yonik http://www.lucidimagination.com On Tue, Sep 22, 2009 at 10:26 AM, Pete Smith wrote: > Hi, > > Is it possi

Function query result as a filter query

2009-09-22 Thread Pete Smith
Hi, Is it possible to constrain a resultset using a filter query to only return the top 100 documents for a particular field? Say I have a field called 'hits' that has the total number of hits for that item. I want to return only the documents that have the top 100 highest hits. I want something

Re: Function Query result

2008-05-09 Thread Mike Klaas
Thanks so much Umar! -Mike On 9-May-08, at 1:22 PM, Umar Shah wrote: Mike, as asked, I have added an example , hope it will be helpful to future users . thanks again. On Sat, May 10, 2008 at 12:11 AM, Mike Klaas <[EMAIL PROTECTED]> wrote: No problem. You can return the favour by cl

Re: Function Query result

2008-05-09 Thread Umar Shah
Mike, as asked, I have added an example , hope it will be helpful to future users . thanks again. On Sat, May 10, 2008 at 12:11 AM, Mike Klaas <[EMAIL PROTECTED]> wrote: > No problem. You can return the favour by clarifying the wiki example, > since it is publicly editable :). > > (It is hard

Re: Function Query result

2008-05-09 Thread Mike Klaas
No problem. You can return the favour by clarifying the wiki example, since it is publicly editable :). (It is hard for developers who are very familiar with a system to write good documentation for beginners, alas.) -Mike On 8-May-08, at 11:44 PM, Umar Shah wrote: thanks mike, some ho

Re: Function Query result

2008-05-08 Thread Umar Shah
thanks mike, some how it was not evident from the wiki example, or i was too presumptious ;-). -umar On Fri, May 9, 2008 at 2:53 AM, Mike Klaas <[EMAIL PROTECTED]> wrote: > On 7-May-08, at 11:40 PM, Umar Shah wrote: > >> >> >> That would be sufficient for my requirements, >> I'm using the fol

Re: Function Query result

2008-05-08 Thread Mike Klaas
On 7-May-08, at 11:40 PM, Umar Shah wrote: That would be sufficient for my requirements, I'm using the following query params q=*:* &_val_:function(blah, blah) &fl=*,score I'm not getting the value, value of score =1, am I missing something? Is that really what you are sending to Solr? The

Re: Function Query result

2008-05-07 Thread Umar Shah
On Wed, May 7, 2008 at 11:34 PM, Mike Klaas <[EMAIL PROTECTED]> wrote: > > On 7-May-08, at 5:01 AM, Umar Shah wrote: > > Hi, >> >> I want to use result of a function query based on multiple field values >> for >> ranking the results, >> can I also return the value of the computed function along

Re: Function Query result

2008-05-07 Thread Mike Klaas
On 7-May-08, at 5:01 AM, Umar Shah wrote: Hi, I want to use result of a function query based on multiple field values for ranking the results, can I also return the value of the computed function along with other fields of the documents returned. If you score documents based on a func

Function Query result

2008-05-07 Thread Umar Shah
Hi, I want to use result of a function query based on multiple field values for ranking the results, can I also return the value of the computed function along with other fields of the documents returned. thanks in anticipation -umar