Reputation: 35679
Lets say I want to query for string "this is first title" and I want it to return almost similar strings like below.
this is first title
this is second title
this is third title
Is this possible with QueryOptions
to query for "almost similar" string?
Upvotes: 1
Views: 148
Reputation: 2237
You can search for "this is" title
(enclosing the "this is" in double quotes treats it as a phrase), which should work for your particular use case.
If you're searching in a particular field, say 'summary', you can specify the field to narrow your search, e.g.: summary:"this is" summary:title
See also the answer to this question: GAE Full Text Search API phrase matching . You can use the '~' operator to rewrite queries to include plurals, which is one way of searching for similar text.
Upvotes: 1