K2 Easy filter - Search tags & Title first

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

#
Hello,

1. is it possible to modify the module K2 Easy filter through override to search for tags as well ?

I haven't find hereafter to be convenient for me :
a. tag filter in K2 Easy filter
b. joomla search with k2 plugin (search tags enabled)
c. K2 tools > k2 search

Am very happy with the fact that K2 Easy filter will search in k2 content, k2 titles and extra fields value

2. Is it possible to list k2 items (in search results) with keyword in Title first then in content or else ?

Thanks for your help !

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

#
Hello, Andy.

Thanks for your post.

1) It is already possible to filter with tag, please check "Show tag filter?" module's parameter.

2) It is already makes search in the following direction:
i.title LIKE '%{$keyword}%' 
												 
OR i.introtext LIKE '%{$keyword}%' 
												 
OR i.fulltext LIKE '%{$keyword}%'
												 
OR i.extra_fields_search LIKE '%{$keyword}%'

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

#
Hi and thanks for your quick reply,

1. I don't want to use tag filter. I just want "K2 Easy filter" to search for inserted keyword/s in tags.

2. Am not having the expected results right now. Items with Title which includes search keywords will appear in results somewhere before and after other items with keywords in intro text.

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

#
Hello, Andy.

1) Do you mean to search by tags also from Keyword filter? Sorry, it is not implemented.

2) Yes, it is no any relavance by keyword entry.

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

#
Thanks,

so I understand that when keyword text field alone is use, K2 Easy filter will :

1. not search into tags

2. not display results (by relevance). It will look for keyword in intro text, title & extra fields and sort result in any order (may be by ID or date published).

Can "K2 filter and search module" or any other extension do the above ?

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

#
K2 filter and search module:

1) Yes, this also will search by tag, item alias and author
2) No, it is only general sorting options available + sorting by extra fields value.

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

#
Hello,

1) Actually no. unless I'm doing something completely wrong. I have tried on another test website with default k2 installation on Beez template.

Tags can however be selected if "Show tag filter?" is set to yes in back-end.
Tags are not being searched when keyword (text) filter alone is used.

2) Can you provide custom work to make this happen ?

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

#
Hello, Andy.

I will be better for you to purchase K2 Filter and Search module in this case.
You can download and test it without purchase, just make new order without a payment.

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

#
Hi and thanks,

1. "K2 Filter and Search module" will search in tags and author : great !

2. I have set : Filter parameters > Select filter fields > Keyword (Item all in one)
Search results Ordering>Default ordering>Title

Let's take the case where I have 3 items:
Id
Title
Intro Text
1
Green Apple
Green fruit
2
Orange----
Like an apple
3
Red Apple
Red Fruit

If "apple" is searched, the search results will find 3 results (which is good) but will not display ID 1 and 3 first. Ideally search result should be ID 1,3,2 (because the later has apple in intro text and not in Title)

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

#
Andy,

Unfortunately, it is no such function for order search results based on keyword field entrance.