Search and Filter results order

More
6 years 9 months ago #72239 by ggppdk
Hello

the ordering configured in component / (optionaly overriden in category) will be used
which ordering is configured ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72253 by lipatovroman
Hello

Not sure I understand what ordering you talking about...

I seen only Item Ordering (Level 1) an Item Ordering (Level 2)

But I'm talking about results in search or filtering.

First, should be displayed elements with a keyword in the title.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72266 by ggppdk
Hello

title ?
yes wanted to do this some time ago when you suggested it 6 months ago

yes the results having the most text search words in the title
- should appear on top

it is rather easy to do (it is a small modification of the query ... i have studied it)

but

not sure how this will be configurable
- i mean do it without adding any configuration parameters ?

will people think that ordering is broken ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago - 6 years 9 months ago #72267 by ggppdk
Hello

please see my above answer

Example

Effectively if searching for 3 words the item list will be
have results found having all 3 text search words in the search index

but

- show items having all 3 words inside title then order them by e.g. creation date
- then show items having 2 words inside title then order them by e.g. creation date
- then show items having 1 words inside title then order them by e.g. creation date


then here we can also fix the case of search for any words too ...
if not all words are found first show items with most words ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 9 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72269 by lipatovroman
Hello

I beleive, that this is correct order:

- show items having all 3 words inside title then order them by e.g. creation date
- then show items having 2 words inside title then order them by e.g. creation date
- then show items having 1 words inside title then order them by e.g. creation date

But not "then order them by e.g. creation date"

I think serach results shoild be more flexible:

- show items having all 3 words inside title then show items having all 3, 2, 1 words inside description
- show items having all 3 words inside description then show items having all 2, 1 words inside title
- show items having all 2 words inside title then show items having all 2, 1 words inside description
- show items having all 2 words inside description then show items having all 1 words inside title
- show items having all 1 word inside title then then order them by e.g. creation date

Or just show first items having having exact word or phraze inside Title and then order them by e.g. creation date.

Anyway, users trying to search items with specifiec Title (95%), and than text from Description (5%).

Please Log in or Create an account to join the conversation.

More
6 years 9 months ago #72273 by ggppdk
Hello

Ok that would be more optimal

but lets do something also good enough without effecting performance

Please note that we will have 2 columns
1. title (rather small)
2. search_index

Having
1. title +
2. description (usually as big to be compared to 'search_index')
3. search_index

may effect performance


So lets do this
search in 'title' and 'search_index'

If all 3 words found
- order by words found in title

then if not requiring all show words do similar for 2 words ...


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: lipatovroman

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.203 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline