Developer Custom Search

Categories

Component ID

1597860

Component name

Developer Custom Search

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

I am here to share about Drupal's Search Module limitations & solution to overcome it.

Limitation:- Drupal's Search Module provides search results on the basis of exact keyword match. i.e. when we search a word like 'what' in our website, it give results only where the word 'what' exactly matches & it doesn't include words like 'whatever' in search results. It concludes that Search module executes search query with a EQUAL(=) condition in WHERE clause but we always require results from a search query with a LIKE condition in WHERE clause.

Solution:- We need to create our own custom Search module with same features exactly the Drupal's Search module but with LIKE condition based search query. As we have created a custom search module for reference, you can use & modify it according to your requirement.

You all are free to ask/share anything regarding this.