Re: Howto build a function query using the 'query' function

2010-04-26 Thread MitchK
I *think* that he means that "myQueryReturningACountOfHowOftenThisDocumentIsReferenced" is something like facet.count (or so). If not, I am sorry. However, it interests me very much, how to get the facet.count of the document in a query function. For example: If a document has got catField:financ

Re: Howto build a function query using the 'query' function

2010-04-26 Thread Koji Sekiguchi
Villemos, Gert wrote: If the 'query' returned a count, yes. But my problem is exactly that as far as I can see from the description of the 'query' function, it does NOT return the count but the score of the search. I assumed that "myQueryReturningACountOfHowOftenThisDocumentIsReferenced" is

RE: Howto build a function query using the 'query' function

2010-04-25 Thread Villemos, Gert
a count, not a score? Cheers, Gert. From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Sun 4/25/2010 2:15 AM To: solr-user@lucene.apache.org Subject: Re: Howto build a function query using the 'query' function Villemos, Gert wrote: > I want

Re: Howto build a function query using the 'query' function

2010-04-24 Thread Koji Sekiguchi
Villemos, Gert wrote: I want to build a function expression for a dismax request handler 'bf' field, to boost the documents if it is referenced by other documents. I.e. the more often a document is referenced, the higher the boost. Something like linear(query(myQueryReturningACountOfHowO