I'm using Drupal commerce and I was wondering if there is a way to do partial search? Current the search engine is only searching the exact word. E.g. Candy or Battery I'm looking to search with only term 'Can' or 'Bat'. Please advise. Thank you

2 Answers 2


You'll want to employ some sort of stemming algorithm for that.

The Porter-Stemmer module is a possible choice:

This module implements the Porter stemming algorithm to improve English-language searching with the Drupal built-in Search module.


1.On yoursite/admin/config/search/search_api/ choose "edit" your server type (not index type)configuration.

2.At the bottom of the page set the "Search on parts of the word"checkbox checked.

  • Any idea what else one needs to do to make this work with 8? Even after making this setting and reindexing the content, it does not work.
    – aalaap
    Commented Jan 10, 2018 at 7:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.