P
P
petrouv2011-04-02 16:50:13
Yandex
petrouv, 2011-04-02 16:50:13

Setting up Yandex.Server?

First question:
There is a Yandex.Server configured for mysql indexing.
The following strings are fed to it as data:
1 - "007 behemoth"
2 - "007bb behemoth"
As a result, Yandex.Server finds only document 1 as a search result for the query "007".
For the query "007bb", only document 2, respectively.
Is it possible to set it up so that it finds both results in both cases and still ranks?
The second question:
When indexing, I specify a boolean attribute, for example "stock".
Then, when you try to search for "behemoth stock:1" you will notice that the ranking of the results will be different from just "behemoth", even though stock==1 for all documents.
Is it possible to set it so that attributes are not taken into account when ranking?
Third question:
I would like to specify a certain attribute, say the sales volume of a product and take into account its weight when ranking.
The search module settings contain the UserRelevanceLibrary directive, which allows you to specify the library in which the function is defined, which allows you to perform arbitrary ranking of search results. But I would not want to mess with C++.
Is it possible to customize search based on attribute weight without fiddling with C++?
Fourth question:
I have a list of categories in which the product is located (may be in several at once), for example: "12, 255, 135".
I would like a query to return only products that belong to category 255.
Is it possible to implement this using Yandex.Server, or do I need to post-process its results?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
StopDesign, 2011-04-02
@StopDesign

Oh, you are tormented with him! If it is possible to index the database or XML (it seems that you need a product search), then it is more convenient to use Sphinx. All this is possible there.

P
petrouv, 2011-04-02
@petrouv

Task : search by products, while users can enter additional specifications: search only in a certain category and its children and / or search only products that are in stock.
It is important to consider that at the request of "007", goods with the articles "007bb" and "007aa" must be available.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question