3000 explained code solutions for 75 technologies


manticoresearchUsing regex in search


Execute this Manticosearch query using Mysql protocol:

SELECT * FROM index1 WHERE REGEX(name, 'D.+');ctrl + c
SELECT * FROM

search data in specified index

index1

name of the index to search in

WHERE

list search conditions

REGEX

function to match regex to the specified attribute

name

name of the attribute to match against regular expression

'D.+'

regular expression pattern to check