Replies: 4 comments 12 replies
-
|
I would also like to clarify the distinction between searching and filtering. As I understand it right now, searching should be done in the following way -- the user inputs a set of space-separated keywords, each of which is searched in:
and all the products that contained the keyword in one of the above are returned. Does the above mean that filtering by brands is obsolete? Should we filter by a list of providers (of predefined ones) instead of individual ones? |
Beta Was this translation helpful? Give feedback.
-
|
Mentioned searching here: #28 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Another thing we should discuss about filtering - volume. Our data has varied typed of products, so we can expect units like: This seems to be hard to standardize. We could think about something like small, medium, large for every format, but I do not believe it would yield good results (e.g. large for nail polish vs large for shampoo for ml unit). |
Beta Was this translation helpful? Give feedback.
-
Endpoint specification proposalThis specification doesn't take the technology we are currently using into account. It means that this is ideal plan of our search, the goal we are trying to converge to -- not the final specification of the endpoint. Endpoint signatureSignature:
Where all params are optional. Example:
Params description:
Note: The order of the parameter types is not accidental; the endpoint will first process filtering, then searching, and finally sorting. Filtering mechanismFiltering is pretty obvious and self-descriptive -- it allows excluding products that doesn't meet the criteria from the returned products set. The resultant set is then passed ot the searching stage. Searching mechanismIf
The products are first filtered -- only those that are matching are in the resultant set. For each matching product the Note: The Finding matching productsProduct is said to be matching if it meets the following rule:
Note: The word matching isn't case sensitive, for example Finding match score for each productThe
The match score can be used in the sorting to get better results. Sorting mechanismThe sorting mechanism allows sorting by the following enum variables:
where More than one variable may be provided -- the order of these variables matters:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a space to talk about the search functionality.
For now, planned fields are:
Filtering:
Sorting:
Feel free to give your opinions about these!
Beta Was this translation helpful? Give feedback.
All reactions