The last thing I'd do is partition my index into two, unless and
until I really *knew* I had speed problems. The added complexity
isn't worth it and your index isn't huge, so search speed can
probably be addressed without that complexity.

Filter queries are probably your first choice here. Memory isn't an
issue because they're implemented (as I understand) as a bit
vector. That is, each one (and you only have two) will be 250K
plus a slight overhead. Utterly insignificant.

You can easily experiment with the differences in speed with a single
index between q and fq if you use a single index. You're right
that if you just tack on an AND to the q clause, the true/false
will contribute to the score, but I think they'll all contribute the
same amount, effectively doing nothing to the ranking. There is
something of an efficiency argument here, but maybe not
enough to notice.

Faceting is generally used more for answering questions like
"given I've searched on query <Q> how many of my answers
are in groups A, B and C". Than drilling down to things like
"show me the ones in group C". Which, while related to your
problem isn't what it sounds like you're after.

When measuring speed, remember that the first few queries
aren't representative.

HTH
Erick
On Sat, Mar 6, 2010 at 12:32 PM, MitchK <mitc...@web.de> wrote:

>
> Yes, that's possible.
>
> However I thought, that the normal-q-param forces Solr to lookup every
> check-field whereas it is true or false.
> So I am looking for something like a tree that devides the index into two
> pieces - true and false.
> So Solr do not need to lookup the check-field anymore, because it follows
> the right node of the tree and according to this, the IndexSearcher would
> be
> more efficient - I emphasize, that I think so, I don't really know.
> Another point is, that I have read, that the q-param is scoring every field
> and I don't want that the scoring contains on the check-field in parts.
>
> Hopefully I have explained my problem correctly.
> If there are questions, please ask.
>
> - Mitch
>
> --
> View this message in context:
> http://old.nabble.com/Filter-Query-or-Main-Query-or-facetting--tp27804169p27805798.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to