About "join.search" in 3.4 version.

2011-10-20 Thread Mead Lai
Hello all, Now, I find there is a "org.apache.lucene.search.join" 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

Re: About "join.search" in 3.4 version.

2011-10-20 Thread Michael McCandless
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 packa

Re: About "join.search" in 3.4 version.

2011-10-20 Thread Mead Lai
Thank you, Mike. Are you sure the 'Solr' has implemented 'Join' function. I just skims through some tour guids about Solr, and not sure about that. Appreciate you very much. I figure out another way to handler this problem. Our system also has duplication of these articles and the records(about wh

Re: About "join.search" in 3.4 version.

2011-10-20 Thread Mead Lai
Now I have create a filter by override "DocIdSet getDocIdSet (IndexReader reader) throws IOException ". It works nice, but I feel anxious about the efficiency. The* limit[]* would contain one hundred thousand article_id inside(10,000), and fetech one thousand articles by querying keywords on conte

Re: About "join.search" in 3.4 version.

2011-10-21 Thread Michael McCandless
On Thu, Oct 20, 2011 at 9:06 PM, Mead Lai wrote: > Thank you, Mike. > Are you sure the 'Solr' has implemented 'Join' function. > I just skims through some tour guids about Solr, and not sure about that. > Appreciate you very much. Woops, I'm sorry: I believe Solr's join functionality was only imp