Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Some questions about queries #143

Open
@PabloCastellano

Description

@PabloCastellano

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.

{
"search_request": {
"query": {
"query": "+_all:search"
},
"size": 10,
"from": 0,
"fields": [
"*"
],
"sort": [
"-_score",
"_id",
"-timestamp"

After reading this example, I have the following questions.

  • What does _all means in the query field?
  • What does the plus sign before _all means?
  • How can I search inside a particular field?
  • What happens if I index a type that is not defined in the mapping?
  • How can I search and filter by the _type field?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions