Thank you so much, Mikhail! It works perfectly.
On Thu, Nov 20, 2014 at 12:54 PM, Mikhail Khludnev <
mkhlud...@griddynamics.com> wrote:
> On Thu, Nov 20, 2014 at 5:23 PM, Nicholas Ding
> wrote:
>
> > Hi Mikhail,
> >
> > Thank you very much! I'm using eDisMax by default, I think I will need to
>
On Thu, Nov 20, 2014 at 5:23 PM, Nicholas Ding
wrote:
> Hi Mikhail,
>
> Thank you very much! I'm using eDisMax by default, I think I will need to
> change it to defType=func and
I wonder why do you ask, because the given link has three examples of
including edismax into the simple calculation.
Hi Nicholas,
you can use "sort by function" feature of solr.
&sort=sum(
mul(query(field:TfIdfQuery),x1),
mul(x1,v2))
On Thursday, November 20, 2014 4:23 PM, Nicholas Ding
wrote:
Hi Mikhail,
Thank you very much! I'm using eDisMax by default, I think I will need to
change it to defType=func a
Hi Mikhail,
Thank you very much! I'm using eDisMax by default, I think I will need to
change it to defType=func and pass all the query parameters (fq mainly) to
the sub query right?
Nicholas Ding
On Thu, Nov 20, 2014 at 5:22 AM, Mikhail Khludnev <
mkhlud...@griddynamics.com> wrote:
> Hello Nic
Hello Nicholas!
you can specify a function query as a main query where you can operate with
DVs, then you can use regular tfidf score from arbitrary query as one of
the arguments in the functional query see an example in
http://wiki.apache.org/solr/FunctionQuery#query
have a good research!
On Thu