Luwak is not based on the fork of Lucene or rather, the fork you are seeing
is there only because the Luwak authors needed highlighting.  If you don't
need highlighting you can probably modify Luwak a bit to use regular
Lucene.  The Lucene fork you are seeing there will also, eventually, be
committed to Lucene trunk and then hopefully backported to 4.x.

Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/


On Fri, Apr 25, 2014 at 6:46 PM, Muhammad Gelbana <m.gelb...@gmail.com>wrote:

> Luwak is based on a fork of solr\lucene which I cannot use. I have to do
> this using solr 4.6, whether by writing extra code or not. Thanks.
>
> *---------------------*
> *Muhammad Gelbana*
> http://www.linkedin.com/in/mgelbana
>
>
> On Sat, Apr 26, 2014 at 12:13 AM, Ahmet Arslan <iori...@yahoo.com> wrote:
>
> > Hi,
> >
> > You don't need to write code for this. Use luwak (I gave the link in my
> > first e-mail) instead.
> >
> > If your can't get luwak running because its too complicated etc, see a
> > similar discussion
> >
> > http://find.searchhub.org/document/9411388c7d2de701#36e50082e918b10c
> >
> > where diy-percolator example pointer is given. It is an example to use
> > memory index.
> >
> > Ahmet
> >
> >
> >
> > On Saturday, April 26, 2014 1:05 AM, Muhammad Gelbana <
> m.gelb...@gmail.com>
> > wrote:
> > @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
> > > >
> > > >
> > >
> >
> >
>

Reply via email to