On Nov 21, 2007 3:09 PM, Jörg Kiegeland <[EMAIL PROTECTED]> wrote:
> I have N keywords and execute a query of the form
>
> keyword1 OR keyword2 OR .. OR keywordN
[...]
> This seems to take linear time to the size of all possible matched
> documents.

Yes.

> 1. Does Solr support this kind of index access with better performance ?
> Is there anything special to define in schema.xml?

No... Solr uses Lucene at it's core, and all matching documents for a
query are scored.

> 2. Can one switch off this ordering and just return any 100 documents
> fullfilling the query (though  getting best-matching documents would be
> a nice feature if it would be fast)?

a feature like this could be developed... but what is the usecase for
this?  What are you tring to accomplish where either relevancy or
complete matching doesn't matter?  There may be an easier workaround
for your specific case.

-Yonik

Reply via email to