A wildcard query is a query in which term the character * will match 0..n occurrences of any characters and ? will match 1 occurrence of any character.
Inheritance: FtsQueryBase
        public void Export_Omits_Field_If_Not_Provided()
        {
            var query = new WildcardQuery("wildcard");

            var expected = JsonConvert.SerializeObject(new
            {
                wildcard = "wildcard"
            }, Formatting.None);

            Assert.AreEqual(expected, query.Export().ToString(Formatting.None));
        }
        public void Export_Returns_Valid_Json()
        {
            var query = new WildcardQuery("wildcard").Field("field");

            var expected = JsonConvert.SerializeObject(new
            {
                wildcard = "wildcard",
                field = "field"
            }, Formatting.None);

            Assert.AreEqual(expected, query.Export().ToString(Formatting.None));
        }