lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: About "" in 3.4 version.
Date Thu, 20 Oct 2011 10:44:42 GMT
I don't think the new join package in Lucene 3.4 will work for this
case; you need more general join implementation, which eg Solr and
ElasticSearch have implemented.

Generic join hasn't yet been factored out into Lucene (but I think it
really needs to be... any volunteers!?).

Lucene's join package can handle use cases like nested documents or
parent/child, because it requires that you index a single primary row
AND all joined documents together as a single block of documents.

Mike McCandless

On Thu, Oct 20, 2011 at 3:26 AM, Mead Lai <> wrote:
> Hello all,
> Now, I find there is a "" function in Lucene
> 3.4 version.
> But I found no demo for "join" function in the source code package:
> "lucene-3.4.0-src.tar".
> Now I have some articles, which could be modified by editors, like this
> relationship:
>  an article : modify records = 1:n.
> Document of article: contain the text of this article.
> Document of records: article_id, name of editor, date_time(when modify it).
> Search condition would be: keywords(search article),name of editor, range of
> time(start_time, end_time),
> that will find the articles in some particular time which had been modified
> by someone.
> E.g: condition = during '2011-09-23' to '2011-10-19', editor: 'Alan',
> keyword: 'duck'.
> The results will found all articles contain 'duck', and edited by 'Alan'
> between '2011-09-23' and '2011-10-19'.
> My question is, could "" solve this case?
> If possible, thanks for providing some example or clue.
> Thanks for your time.
> Regards,
> Mead Lai

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message