On Jul 23, 2014, at 10:02 AM, Sean Cribbs <s...@basho.com> wrote:
> . In this case, no, you cannot use wildcards at the beginning [1].
> [1] 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*) [1].
>
> On Wed, Jul 23, 2014 at 4:22 AM, Alexander Popov <mogada...@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 [2]). Yokozuna uses Solr
4.7.0, the Solr Reference Guide is a great place to learn more about Solr [3].
-Z
[1]:
http://stackoverflow.com/questions/8515190/solr-reverse-wildcard-field-association
[2]:
https://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations
[3]:
https://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-4.7.pdf
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com