Hi
I have a usecase where the conditions for returning the document is
predefined in the doc. At query time these conditions are unknown. Is there
a way to evaluate this before returning the search results.
Eg: document with id b1 should be returned when type == shoes and temp >
80 while
document b2 should be returned when type == shoes and temp == 80 and age <
20
Is it possible to construct queries to return the docs that match the
predefined conditions?
Appreciate any suggestion
Only by marking docs b1 and b2 with some other field, like a category or
something, eg when type==shoes and type==80, then return docs of category
'foo'. So you'd need to store category 'foo' in the doc
Hi
I have a usecase where the conditions for returning the document is
predefined in the doc. At query time these conditions are unknown. Is there
a way to evaluate this before returning the search results.
Eg: document with id b1 should be returned when type == shoes and temp >
80 while
document b2 should be returned when type == shoes and temp == 80 and age <
20
Is it possible to construct queries to return the docs that match the
predefined conditions?
Appreciate any suggestion
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.