Skip to content
Discussion options

You must be logged in to vote

My issue is that I am just not very familiar with the json search syntax. I managed to figure it out but my head is still spinning!
I think I'm going to switch to using the C# api :)

{
    "query": {
      "bool": {
        "should": [
          {
            "match": {
              "Content.ContentItem.FullText": {
                "query": {{ searchTerm | json | raw }},
                "fuzziness": 2,
                "operator": "or"
              }
            }
          },
          {
            "match": {
              "TitlePart^2": {
                "query": {{ searchTerm | json | raw }},
                "fuzziness": 2,
                "operator": "or"
              }
           …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@devlife
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by devlife
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants