Re: Custom Solr FunctionQuery Error

2013-02-18 Thread Á_____o
Hi! Although more than 1 year has passed, could I ask you, Parvin, what was your final approach? I have to deal with a similar problem (http://lucene.472066.n3.nabble.com/Combining-Solr-score-with-customized-user-ratings-for-a-document-td4040200.html), maybe a bit more difficult because it's a by

Re: Custom Solr FunctionQuery Error

2011-12-28 Thread Parvin Gasimzade
Thank you for your answers. I have a Map and want to boost the score of that documents during search time. In my example i get that map inside ValueSource and boost the matched documents score. In the query if {!graph} is added then it will return boosted query otherwise it will return regular l

Re: Custom Solr FunctionQuery Error

2011-12-28 Thread Yonik Seeley
On Wed, Dec 28, 2011 at 2:16 AM, Parvin Gasimzade wrote: > I have created custom Solr FunctionQuery in Solr 3.4. > I extended ValueSourceParser, ValueSource, Query and QParserPlugin classes. Note that you only need a QParserPlugin implementation for top level query types, not function queries. Wi

Re: Custom Solr FunctionQuery Error

2011-12-28 Thread Juan Grande
Hi Parvin, You must also add the query parser definition to solrconfig.xml, for example: *Juan* On Wed, Dec 28, 2011 at 4:16 AM, Parvin Gasimzade < parvin.gasimz...@gmail.com> wrote: > Hi all, > > I have created custom Solr FunctionQuery in Solr 3.4. > I extended ValueSourceParser, ValueSou