best way to use smart search

lawrence whittemore asked on August 17, 2023 17:42

we have a group of documents that all have numbers in the names. What is the best way to set up the smart search so that if someone wants to search for the number or a part of the number they get a result?

Recent Answers


Juraj Ondrus answered on August 22, 2023 09:27

Have you considered using filtering instead of searching? Filtering takes an existing full list, and removes items based on criteria that match/don't match. Search takes a blank slate and adds to it based on criteria that match/don't match.
So, if you have that specific requirement, I would rather use the multi-document query and compose appropriate "WHERE" condition to get the dataset filtered. Search is always non-deterministic as some complex algorithms are fired, score, relevance is computed. Then you have the different analyzer types etc. For the front end user, the interface is the same. It is just different in the background and I think filtering fits here better.

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on September 1, 2023 18:20

Hi Lawrence,

How is your search setup currently? Are you talking about Pages index, where the document you mentioned is something referenced from Media Library or Attachment and you want to index it's name efficiently?

Apologies, it's not entirely clear from your message what you are trying to achieve. Please give some more context.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.