ryan at zinascii.com
Wed Jul 23 11:12:49 EDT 2014
On Jul 23, 2014, at 10:02 AM, Sean Cribbs <sean at basho.com> wrote:
> . In this case, no, you cannot use wildcards at the beginning .
>  http://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Wildcard Searches
Actually, you can place the wildcards * or ? anywhere, it doesn’t matter. When placing it at the start it just means the entire term index will have to be searched to determine if the term exists. A common trick veteran Lucene/Solr users will use is to index all terms both forward and backwards, that way you can turn a postfix query (e.g. *ly) into a prefix query (e.g. yl*) .
> On Wed, Jul 23, 2014 at 4:22 AM, Alexander Popov <mogadanez at gmail.com> wrote:
> Will queries support masks at beging and 1 char mask like *lala and a*
Yes, it absolutely will. As Sean said, Yokozuna uses Solr and therefore gives all the same functionality so long as that query type is supported by Solr’s distributed search (and the most important stuff is ). Yokozuna uses Solr 4.7.0, the Solr Reference Guide is a great place to learn more about Solr .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users