On Wed, Apr 29, 2009 at 8:34 PM, Andrey Klochkov <akloch...@griddynamics.com> wrote: > On Wed, Apr 29, 2009 at 6:44 PM, Umar Shah <u...@wisdomtap.com> wrote: > >> On Wed, Apr 29, 2009 at 7:16 PM, Andrey Klochkov >> <akloch...@griddynamics.com> wrote: >> > Hi! >> > >> > Base on docs in the wiki I thought that the following query should return >> > constant score "5" for all "socks" in the index: >> > >> > http://localhost:8080/solr/select?q=name:socks _val_:5&fl=name,score >> >> the intended query should looklike >> >> http://localhost:8080/solr/select?q=_val_:5&fl=name,score&fq=name:socks >> >> return all docs with name containing socks with constant score of 5 >> > > Well, thanks for the tip. > But then the examples in wiki are incorrect, look at the bottom of this page > (General Example): > > http://wiki.apache.org/solr/FunctionQuery#head-af37201ea1d04df780e5044ef560b8558998ee24 >
yes so it seems, can anyone explan the behavior of function query if there are other terms in the query it seems the value of the function query and actual match score are interfering in some manner. what should be expected? > -- > Andrew Klochkov > -- Umar Shah Research Engineer Wisdomtap Solutions India (P) Ltd. --------------------------------------------------------------------------- Get WisdomRank for your products @ http://services.wisdomtap.com View opinions and recommendations about: Point and Shoot Cameras, DSLRs Lenses at http://www.wisdomtap.com/camera/ Mobile Phones at http://www.wisdomtap.com/mobile Access above services from your mobile devices from http://m.wisdomtap.com --------------------------------------------------------------------------