SphinxQL and search for the specified fields?

0 like 0 dislike
6 views
Good evening!


I can't find how to do so, to be able to search on certain fields of the table.


For example, there is a table of the form:


Id

Field1

Field2

Field3

...

FieldN


It is specified as a source for indexing.


If you to query the created index, the search will be performed on all fields at once. But the user has the possibility to specify what fields you want to search, for example, only on Field2 and Field3.


Is it possible to make it so that we can search for matches on different fields without generating all possible codes from the combinations of different fields?
by | 6 views

1 Answer

0 like 0 dislike
SELECT * FROM test WHERE MATCH('@title hello @body world')
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked May 20, 2019 by ortsuev33
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Jun 3, 2019 by mix_gorbachev
110,608 questions
257,186 answers
0 comments
28,875 users