@Jack, I am ready to write custom code to implement such feature but I don't know what feature in solr should I extend ? Where should I start ? I believe it should be a very simple task.
@Ahmet, how can I use the class you mentioned ? Is there a tutorial for it ? I'm not sure how the code in the class's description should work, I've never extended solr before. Thank you all. *---------------------* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Fri, Apr 25, 2014 at 10:38 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > Hi, > > Your use case is different than ad hoc retrieval. Where you have set of > documents and varying queries. > > In your case it is the reverse, you have a query (string masks) stored > ????A?????, and incoming documents are percolated against it. > > out of the box Solr does not have support for this today. > > Please see : > > > http://lucene.apache.org/core/4_7_2/memory/org/apache/lucene/index/memory/MemoryIndex.html > > By the way wildcard ? matches a single character. > > Ahmet > > > On Friday, April 25, 2014 11:02 PM, Muhammad Gelbana <m.gelb...@gmail.com> > wrote: > I have no idea how can this help me. I have been using solr for a few weeks > and I'm not familiar with it yet. I'm asking for a very simple task, a way > to customize how solr matches a string, does this exist in solr ? > > *---------------------* > *Muhammad Gelbana* > http://www.linkedin.com/in/mgelbana > > > > On Thu, Apr 24, 2014 at 10:09 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > Hi, > > > > Please see : https://github.com/flaxsearch/luwak > > > > Ahmet > > > > > > On Thursday, April 24, 2014 8:40 PM, Muhammad Gelbana < > m.gelb...@gmail.com> > > wrote: > > (Please make sure you reply to my address because I didn't subscribe to > > this mailing list) > > > > I'm using Solr 4.6 > > > > I need to store string masks in Solr. By masks, I mean strings that can > > match other strings. > > > > Then I need to search for masks that match the string I'm providing in my > > query. For example, assume the following single-field document stored in > > Solr: > > > > { > > "fieldA": "__A__" > > } > > > > I need to be able to find this document if I query the fieldA field with > a > > string like *12A34*, as the underscore "*_*" matches a single string. The > > single string matching mechanism is my strict goal here, multiple string > > matching won't be helpful. > > > > I hope I was clear enough. Please elaborate because I'm not versatile > with > > solr and I haven't been using it for too long. > > Thank you. > > > > *---------------------* > > *Muhammad Gelbana* > > http://www.linkedin.com/in/mgelbana > > > > >