S
S
Sergey Shum2021-05-23 20:34:15
MODX
Sergey Shum, 2021-05-23 20:34:15

How to configure msearch2 search for partial matches?

Good day!
I'm asking for help, I don't know much about regular expressions.

I need to search for articles by partial match, for example: at the request test1104329200005 B, a similar article should be found - 1104329200005/A

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arthur Sh, 2021-05-24
@Shev_Art_V

mSearch2 searches for the request in the fields specified in the &fields parameter and it searches for all occurrences of the request in the values ​​of the specified fields. Therefore, the required functionality works by default. And if it doesn't work, change the weight of the fields according to the documentation and re-index the fields.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question