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=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 with function query: > > q={!func}exists(description)&fq=collection:ftmuenster&fl=* > --> numFound="6029" > > I'm was hoping to get numFound=4152, why not? > > I also tried: > q={!func}exists(description)&fq=collection:ftmuenster&q.op=AND&fl=* > --> numFound="6029" > > What are the function queries equivalent to queries 2. and 3. above? > > Regards > Bernd > > -- Sincerely yours Mikhail Khludnev