You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Amit Nithian <an...@gmail.com> on 2009/06/08 20:34:03 UTC

Trie Patches- Backportable?

Hi,
I am still using Solr 1.2 with the Lucene 2.2 that came with that version of
Solr. I am interested in taking advantage of the trie filtering to alleviate
some performance problems and was wondering how back-portable these patches
are?

I am also trying to understand how the Trie algorithm cuts down the number
of term queries compared to a normal range query. I was at the recent Bay
Area lucene/solr meetup where this was covered but missed some of the
details.

I know the ideal case is to upgrade to a newer Solr/Lucene but we are
resource constrained and can't devote the time right now to test and upgrade
our production systems to a newer Solr.

Thanks!
Amit

Re: Trie Patches- Backportable?

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Tue, Jun 9, 2009 at 10:19 PM, Amit Nithian <an...@gmail.com> wrote:

> I take it by the deafening silence that this is not possible? :-)
>

Anything is possible :)

However, it might be easier to upgrade to 1.4 instead.


>
> On Mon, Jun 8, 2009 at 11:34 AM, Amit Nithian <an...@gmail.com> wrote:
>
> > Hi,
> > I am still using Solr 1.2 with the Lucene 2.2 that came with that version
> > of Solr. I am interested in taking advantage of the trie filtering to
> > alleviate some performance problems and was wondering how back-portable
> > these patches are?
> >
>

Trie is a new functionality. It does have a few dependencies on new Lucene
APIs (TokenStream/TermAttribute etc.). On the Solr side I think it'd be
easier.


>
> > I am also trying to understand how the Trie algorithm cuts down the
> number
> > of term queries compared to a normal range query. I was at the recent Bay
> > Area lucene/solr meetup where this was covered but missed some of the
> > details.
> >
>

See the javadocs. It has the link to the paper in which it is described in
more detail.

http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/contrib-queries/org/apache/lucene/search/trie/package-summary.html
-- 
Regards,
Shalin Shekhar Mangar.

Re: Trie Patches- Backportable?

Posted by Amit Nithian <an...@gmail.com>.
I take it by the deafening silence that this is not possible? :-)

On Mon, Jun 8, 2009 at 11:34 AM, Amit Nithian <an...@gmail.com> wrote:

> Hi,
> I am still using Solr 1.2 with the Lucene 2.2 that came with that version
> of Solr. I am interested in taking advantage of the trie filtering to
> alleviate some performance problems and was wondering how back-portable
> these patches are?
>
> I am also trying to understand how the Trie algorithm cuts down the number
> of term queries compared to a normal range query. I was at the recent Bay
> Area lucene/solr meetup where this was covered but missed some of the
> details.
>
> I know the ideal case is to upgrade to a newer Solr/Lucene but we are
> resource constrained and can't devote the time right now to test and upgrade
> our production systems to a newer Solr.
>
> Thanks!
> Amit
>