Dynamic boosting on a document for Solr4.10.2

2015-02-24 Thread dinesh naik
Hi , We are looking for an option to boost a document while indexing based on the values of certain field. For example : lets say we have 10 documents with fields say- name,acc no, status, age address etc. Now for documents with status 'Active' we want to boost by value 1000 and if status is 'Clo

Re: Dynamic boosting with functions

2014-12-04 Thread Mikhail Khludnev
yField^10 > > But I like to give dynamic boosting based on whether or not other field > "someotherfield" exists in a document or not. > > I like to give boosting > > if (exists(termfreq(someotherfield,"green")),100,1) > > to "myField" field >

Dynamic boosting with functions

2014-12-03 Thread eakarsu
I need to boost some of document with with a function. I can give boosting for field "myField" with bq = myField^10 But I like to give dynamic boosting based on whether or not other field "someotherfield" exists in a document or not. I like to give boosting if (exists(ter

Re: Dynamic boosting of ids at search time

2010-01-26 Thread Chris Hostetter
: I mean, if for query x, ids to be boosted are 243452,346563,773567, then for : query y the ids to be boosted won't be the same. They are calculated at the : search time. : Also, I cant keep them in the lucene query as the list goes in thousands. : Please suggest a good resolution to it. I'm at

Re: Dynamic boosting of ids at search time

2010-01-20 Thread Lance Norskog
http://www.lucidimagination.com/search/document/CDRG_ch04_4.4.4?q=ExternalFileField This lets you make a file with a boost value for every document. You can change the file and reload the new values with a . It hasn't been materially changed since 2007 and there are no unit tests, so it might not

Dynamic boosting of ids at search time

2010-01-17 Thread Pooja Verlani
Hi, I have to boost certain ids at the search time and these ids are not fixed, so i can't keep them in DismaxRequest handler. I mean, if for query x, ids to be boosted are 243452,346563,773567, then for query y the ids to be boosted won't be the same. They are calculated at the search time. Also,

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-15 Thread Chris Hostetter
: ohk.. that means I can't use colon in the fieldname ever in such a scenario : ? In most internals, the lucene/solr code base allows *any* character in the field name, so you *can* use colons in field names, but many of the "surface" features (like the query parser) treat colon's as special c

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Akshay
On Mon, Dec 15, 2008 at 12:36 PM, Pooja Verlani wrote: > ohk.. that means I can't use colon in the fieldname ever in such a scenario > ? probably we can use colon in fieldname. are you using the special keyword "_val_" for recip function query? http://wiki.apache.org/solr/FunctionQuery#head-df060

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Pooja Verlani
ohk.. that means I can't use colon in the fieldname ever in such a scenario ? On Mon, Dec 15, 2008 at 12:24 PM, Akshay wrote: > The colon is used to specify value for a field. E.g. in the query box of > solr admin you would type something like fieldName: > (title:Java). You can use hypen '-' or

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Akshay
The colon is used to specify value for a field. E.g. in the query box of solr admin you would type something like fieldName: (title:Java). You can use hypen '-' or some other character in the field name instead of colon. On Mon, Dec 15, 2008 at 12:11 PM, Pooja Verlani wrote: > hi, > Is it possibl

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-14 Thread Pooja Verlani
hi, Is it possible to have a fieldname with colon for example "source:site"? I want to apply query time boost as per recency to this field with the recency function. Recip function with rord isn't taking my source:site fieldname, its throwing an exception. I have tried with escape characters too. P

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-12 Thread Pooja Verlani
Hi, Will this currentDate work with epoch time only or can work with any date format as specified by the "simpleDateFormat" class of Java ?? Thank you, Regards, Pooja On Thu, Dec 11, 2008 at 7:20 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Take a look at FunctionQuery support i

Re: Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-11 Thread Shalin Shekhar Mangar
Take a look at FunctionQuery support in Solr: http://wiki.apache.org/solr/FunctionQuery http://wiki.apache.org/solr/SolrRelevancyFAQ#head-b1b1cdedcb9cd9bfd9c994709b4d7e540359b1fd On Thu, Dec 11, 2008 at 7:01 PM, Pooja Verlani <[EMAIL PROTECTED]>wrote: > Hi all, > > I have a specific requirement

Dynamic Boosting at query time with boost value as another fieldvalue

2008-12-11 Thread Pooja Verlani
Hi all, I have a specific requirement for query time boosting. I have to boost a field on the basis of the value returned from one of the fields of the document. Basically, I have the creationDate for a document and in order to introduce recency factor in the search, i need to give a boost to the

Re: Dynamic Boosting

2008-08-01 Thread Erik Hatcher
quot;) but it still wouldn't work to include the documents that match the search term but have no tier. Is there another technique I should be using to achieve my desired effect? I'm a little stuck; your help would be much appreciated. Hope I am making sense. -- View this message in cont

Re: Dynamic Boosting

2008-08-01 Thread CameronL
R Tier2:true...") >> but it >> still wouldn't work to include the documents that match the search >> term but >> have no tier. >> >> Is there another technique I should be using to achieve my desired >> effect? >> I'm a little stuck

Re: Dynamic Boosting

2008-07-31 Thread Erik Hatcher
ck; your help would be much appreciated. Hope I am making sense. -- View this message in context: http://www.nabble.com/Dynamic-Boosting-tp18765678p18765678.html Sent from the Solr - User mailing list archive at Nabble.com.

Dynamic Boosting

2008-07-31 Thread CameronL
hieve my desired effect? I'm a little stuck; your help would be much appreciated. Hope I am making sense. -- View this message in context: http://www.nabble.com/Dynamic-Boosting-tp18765678p18765678.html Sent from the Solr - User mailing list archive at Nabble.com.