mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.07k stars 76 forks source link

Some questions about queries #143

Open PabloCastellano opened 4 years ago

PabloCastellano commented 4 years ago

Hello. I'm testing blast to check if it could replace elasticsearch for my use case.

However I find the examples very brief and don't understand the following query example.

https://github.com/mosuka/blast/blob/bfa81067715553dc982360ea584726e3331ba2a8/examples/example_search_request.json#L1-L14

After reading this example, I have the following questions.

Can you give me some pointers? I'll be happy to contribute by documenting these answers.

fahmifan commented 3 years ago

AFAIK, you could check blevesearch docs https://blevesearch.com/docs/Query-String-Query/, from your example, +_all:search it will match string search to all fields in the mapping.