Re: boost function parameter (bf) ignores character escaping

2012-05-21 Thread Jack Krupansky
" will be the field name in Solr. -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Monday, May 21, 2012 8:37 AM To: solr-user@lucene.apache.org Subject: Re: boost function parameter (bf) ignores character escaping Quoting from the new trunk example schema: "fi

Re: boost function parameter (bf) ignores character escaping

2012-05-21 Thread Jack Krupansky
Quoting from the new trunk example schema: "field names should consist of alphanumeric or underscore characters only and not start with a digit. This is not currently strictly enforced, but other field names will not have first class support from all components and back compat

Re: boost function parameter (bf) ignores character escaping

2012-05-21 Thread Erik Hatcher
Yeah, a bug report would be good. But really this is a Sunspot bug report. Field names should NOT have :'s in them. Field names should stick to standard Java identifier rules, otherwise it's escaping madness. You could try something like this as a workaround: bq=_val_:"dynamicfield\:val

Re: Boost function problem with disquerymax

2011-03-03 Thread Gastone Penzo
You are right. it was not and index field. just stored Thanx 2011/3/2 Yonik Seeley > On Wed, Mar 2, 2011 at 11:34 AM, Gastone Penzo > wrote: > > HI, > > for search i use disquery max > > and a i want to boost a field with bf parameter like: > > ...&bf=boost_has_img^5& > > the boost_has_img

Re: Boost function problem with disquerymax

2011-03-02 Thread Yonik Seeley
On Wed, Mar 2, 2011 at 11:34 AM, Gastone Penzo wrote: > HI, > for search i use disquery max > and a i want to boost a field with bf parameter like: > ...&bf=boost_has_img^5& > the boost_has_img field of my document is 3: > 3 > if i see the results in debug query mode i can see: >   0.0 = (MATC

Re: Boost function on *:*

2010-04-26 Thread Blargy
Correct, I am using dismax by default. I actually accomplished what I was looking for by creating a separate request handler with a defType of "lucene" and then I used _val_ hook. I tried using the {!func}function as you describe but couldn't get it work. Are there any difference between the tw

Re: Boost function on *:*

2010-04-26 Thread Chris Hostetter
: Is it possible to use boost function across the whole index/empty search : term? function queries by definition match all docs -- so just query for the function your want and you'll get all documents scored according to hte function. based on your wordking, it sounds like you are using dism

Re: Boost function

2009-02-04 Thread Erick Erickson
>From Hossman... <<>> Search time boosts, as the name implies, factor into the scoring of documents, increasing the score assigned to documents that match on the boosted term, thus tending to score the entire document higher. So these documents tend to be returned earlier in the results when sor

Re: boost function on field of type double

2008-06-20 Thread Julien Nioche
Hi Grant, Thanks for your help. I've just found the explanation to my problem: the fields need to be indexed in order to be used in a bf, which was even stated clearly in the documentation ;-) Hopefully someone will make the same mistake at some point and find this. I'm now using the SVN trunk ve

Re: boost function on field of type double

2008-06-20 Thread Grant Ingersoll
Hey Julien, What's your actual query look like? The original, the parsed, etc. (I think a bunch of the variations get output when using debugQuery=true) There is a DoubleFieldSource in the trunk as of SOLR-324, so that probably explains why you are seeing the FloatFieldSource (as I recal

Re: boost function on field of type double

2008-06-20 Thread Julien Nioche
Have tried using * * for the field domain_score but still get 0.0 = (MATCH) FunctionQuery(sfloat(domain_score)), product of: 0.0 = sfloat(domain_score)=0.0 1.0 = boost 0.07387746 = queryNorm Thanks! Julien 2008/6/20 Julien Nioche <[EMAIL PROTECTED]>: > Hi guys, > > I am usgin SO