Re: question about function query

2017-03-17 Thread Bernd Fehling
Hi Mikhail, thanks for your help. After some more reading and testing I found the solution. Just in case someone else needs it here are the results. original query: q=collection:ftmuenster+AND+-description:*&fl=* --> numFound="1877" frange query: q=collection:ftmuenster&fq={!frange+l=0+u=0}exist

Re: question about function query

2017-03-16 Thread Mikhail Khludnev
Hello, A function query matches all docs. Use {!frange} if you want to select docs with some particular values. On Thu, Mar 16, 2017 at 6:08 PM, Bernd Fehling < bernd.fehl...@uni-bielefeld.de> wrote: > I'm testing some function queries and have some questions. > > original queries: > 1. q=collect

question about function query

2017-03-16 Thread Bernd Fehling
I'm testing some function queries and have some questions. original queries: 1. q=collection:ftmuenster&fl=* --> numFound="6029" 2. q=collection:ftmuenster+AND+-description:*&fl=* --> numFound="1877" 3. q=collection:ftmuenster+AND+description:*&fl=* --> numFound="4152" This looks good. But now

Re: about function query

2010-06-23 Thread Yonik Seeley
oring of search. And I > find an example in the book "Solr 1.4 Enterprise Search Server" about > function query. I want to boost a document which is newer. so it may > be a function such as 1/(timestamp+1) . But the function query is > added to the final result, not multiplied. So

about function query

2010-06-22 Thread Li Li
I want to integrate document's timestamp into scoring of search. And I find an example in the book "Solr 1.4 Enterprise Search Server" about function query. I want to boost a document which is newer. so it may be a function such as 1/(timestamp+1) . But the function query is add