I'm trying to execute a BoolQuery with clauses on two indices and it
fails. Is that normal (should cross index bool query be avoided ?), a
bug or something I'm doing wrong ?
Following a test case that shows the problem.
Thanks a lot.
Nel
Thinking about it, maybe I just misunderstoog the multi index feature
(understanding it so that it would fit my use case ).
I thought one could store the same document in different indices so
that each index could hold an aspect of the document, and each aspect
could be indexed / updated seperatly. And I thought one could execute
a query that would cross the indices boundaries.
Was I wrong ?
If I was, is there a way to implement something like "partial update"
of a document. Here's my usecase : I have documents that are
aggregation of independent parts (independent in terms of storage and
update). What I'd like is that when one part gets modified there would
be no need to re index the whole document, but only the modified part
(so that the other part dont need to be loaded), still being able to
search the document as a whole.
I'm trying to execute a BoolQuery with clauses on two indices and it
fails. Is that normal (should cross index bool query be avoided ?), a
bug or something I'm doing wrong ?
Following a test case that shows the problem.
Thanks a lot.
Nel
On Sunday, February 6, 2011 at 7:32 PM, Nel Taurisson wrote:
Hi again,
Thinking about it, maybe I just misunderstoog the multi index feature
(understanding it so that it would fit my use case ).
I thought one could store the same document in different indices so
that each index could hold an aspect of the document, and each aspect
could be indexed / updated seperatly. And I thought one could execute
a query that would cross the indices boundaries.
Was I wrong ?
Yep :). Its just another "database" that holds documents.
If I was, is there a way to implement something like "partial update"
of a document. Here's my usecase : I have documents that are
aggregation of independent parts (independent in terms of storage and
update). What I'd like is that when one part gets modified there would
be no need to re index the whole document, but only the modified part
(so that the other part dont need to be loaded), still being able to
search the document as a whole.
Nope, though parent child support might help you to get to something close to it.
I'm trying to execute a BoolQuery with clauses on two indices and it
fails. Is that normal (should cross index bool query be avoided ?), a
bug or something I'm doing wrong ?
Following a test case that shows the problem.
Thanks a lot.
Nel
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.