It seems that PercolateResponse returns only the names of the matched queries. There is no built-in way to return fields attached to the registered query. (e.g. color field in examples). Am I correct?
Currently I am issuing an additional get operation (using query name) to retrieve field values (color : blue) .
It seems that PercolateResponse returns only the names of
the matched queries. There is no built-in way to return
fields attached to the registered query. (e.g. color field
in examples). Am I correct?
Currently I am issuing an additional get operation (using
query name) to retrieve field values (color : blue) .
Is there a better way?
I am sorry, I hit the send button accidentally. Without writing the title of the message.
When you say field values what do you mean? Yea, your assumption is correct, only the queries that matched are returned.
On Monday, July 4, 2011 at 11:06 AM, Ahmet Arslan wrote:
Hello,
It seems that PercolateResponse returns only the names of the matched queries. There is no built-in way to return fields attached to the registered query. (e.g. color field in examples). Am I correct?
Currently I am issuing an additional get operation (using query name) to retrieve field values (color : blue) .
If a document matches the query kuku, I want to retrieve the 'color : blue' as well as 'kuku'.
: Yea, your assumption is
: correct, only the queries that matched are returned.
I have a use-case where I add several fields / meta-data (owner of the query for example) to the queries. I want to return them in the response as well as name of the matching query.
I am going to take some action according to these meta-data like fields.
Do you think is there a workaround to save and retrieve such additional data in Percolator API?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.