0

I have documents like

{
  "title": "some title",
  "description": "some description",
  "tags": ["one", "two", "three"]
}

How I can specify my query use C# Nest lib for find document by one Tag? For example, q=hre and doc find Try this, but its not work

q.Nested(nqd => nqd
                        .Path(x => x. tags)
                        .Query(qcd => qcd
                            .Bool(b => 
                                b.Should(s => 
                                    s.QueryString(x => 
                                        x.Fields(z => 
                                            z.Field(y => y.items))
                                            .Query(search))))))
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.