I'm not sure but it seems to me that subqueries "query(.)" [
http://wiki.apache.org/solr/FunctionQuery#query ] with only stopwords are
evaluated forall documents.
Example:
q={!func}myFunction(query(field:the))&fq=field:(helloworld)
Since "the" is a stopword for field "field", query(field:the) wil
How its possible to access TopDocs using solr API?
Thanks,
Rodrigo
On Thu, Jul 15, 2010 at 8:03 PM, Erick Erickson wrote:
> Hmmm, why do you need a custom collector? You can use
> the form of the search that returns a TopDocs, from which you
> can get the max score and the array of ScoreDoc each
Hello,
I am doing a rerank function of solr results using Solr Function query Plugin:
http://localhost:8983/solr/articles.0/select/?q={!func}myReRank(query($qq))&qq=query
here
Inside myReRank plugin I do the things.
First, is that the best way to do that? If so, Is it possible to limit
myReRank
Thank you, that works fine!
On Thu, Jul 15, 2010 at 2:01 PM, Yonik Seeley
wrote:
> On Thu, Jul 15, 2010 at 12:49 PM, Rodrigo Rezende wrote:
>> Yeah, it is redundant, but I am using that to use the solr query
>> response as input of a plugin function:
>>
>> http://loc
my custom sort/re-scorer.
Is that the best way?
On Thu, Jul 15, 2010 at 1:16 PM, Yonik Seeley
wrote:
> On Thu, Jul 15, 2010 at 11:51 AM, Rodrigo Rezende wrote:
>> I solved the problem.
>> The correct syntax is:
>>
>> http://localhost:8983/solr/articles.0/select/?q={
I solved the problem.
The correct syntax is:
http://localhost:8983/solr/articles.0/select/?q={!func}query({!query
v='hello'})&fl=Document.title,score,&debugQuery=on
Rodrigo
On Thu, Jul 15, 2010 at 12:32 PM, Rodrigo Rezende wrote:
> Hello,
>
> I am trying to use f
Hello,
I am trying to use function nested query syntax with solr 1.4.1, but I
am not sure if I am doing in right way:
I try this query and I get all documents which score is 12
http://localhost:8983/solr/articles.0/select/?q={!func}product(3,4)&fl=Document.title,score,&debugQuery=on
Using the s