Pessimization selected queries for selected indexes. How?

Problem:
I have some indexes: Realty, Electronics, Auto ... Each document have title
and description. And I'm use full-text search (with morphology) for all
indexes for title and description.

But, some queries is not relevant for some indexes.

Example:
"washing machine" is good for Electronics and not so good for Realty.
Becouse, too many docs in Realty where "washing machine" can be find in
description: flat for rent with "washing machine" or cottage for sale and
"washing machine" as a gift.

Question:
How I can "pessimize" docs that matched to selected queries (dozens) in
selected indexes? If I search for "washing machine" for all indexes, only
results from Electronics must be in query results. But, for "flat for rent
with washing machine" query must give relevant result.

Thank You!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Your situation sounds like something that would be better off solved on the
client side. If your query is contained in a list of targeted queries, then
you can restrict the query to a specific index.

If the documents were all in the same index, you can play around with
boosting, such as boosting all electronic documentations.

--
Ivan

On Tue, May 14, 2013 at 12:51 AM, Alexander Peregudov <
alexander.peregudov@gmail.com> wrote:

Problem:
I have some indexes: Realty, Electronics, Auto ... Each document have
title and description. And I'm use full-text search (with morphology) for
all indexes for title and description.

But, some queries is not relevant for some indexes.

Example:
"washing machine" is good for Electronics and not so good for Realty.
Becouse, too many docs in Realty where "washing machine" can be find in
description: flat for rent with "washing machine" or cottage for sale and
"washing machine" as a gift.

Question:
How I can "pessimize" docs that matched to selected queries (dozens) in
selected indexes? If I search for "washing machine" for all indexes, only
results from Electronics must be in query results. But, for "flat for rent
with washing machine" query must give relevant result.

Thank You!

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.