Re: Merge several queries into one result?

2010-02-17 Thread Erick Erickson
olr-user@lucene.apache.org > Sent: Tuesday, February 16, 2010 10:20:50 PM > Subject: Re: Merge several queries into one result? > > It's generally a bad idea to try to think of > various SOLR/Lucene indexes in a database-like > way, Lucene isn't built to do RDBMS-like stuf

Re: Merge several queries into one result?

2010-02-17 Thread Daniel Shane
-- From: "Erick Erickson" To: solr-user@lucene.apache.org Sent: Tuesday, February 16, 2010 10:20:50 PM Subject: Re: Merge several queries into one result? It's generally a bad idea to try to think of various SOLR/Lucene indexes in a database-like way, Lucene isn't built to do RDB

Re: Merge several queries into one result?

2010-02-16 Thread Erick Erickson
It's generally a bad idea to try to think of various SOLR/Lucene indexes in a database-like way, Lucene isn't built to do RDBMS-like stuff. The first suggestion is usually to consider flattening your data. That would be something like adding NY and "New York" in each document. If that's not possib

Merge several queries into one result?

2010-02-16 Thread Daniel Shane
Hi all! I'm trying to join 2 indexes together to produce a final result using only Solr + Velocity Response Writer. The problem is that each "hit" of the main index contains references to some common documents located in another index. For example, the hit could have a field that describes in