Re: How to search multi indices

2006-03-12 Thread Erik Hatcher
On Mar 12, 2006, at 1:27 AM, wu fox wrote: Hi: I have tow indices A and B. Field title is in index A and field label is in B.Now I'd like to search with query title:XXX AND label:XXX,surely I expect search title:XXX in index A and label:XXX in index B.Is there any Lucene API can help

Re: Alternate Use of Lucene

2006-03-12 Thread Erik Hatcher
Representing an object graph in Lucene is not straightforwardly possible. I recommend you consider flattening your object graph in order to index it using Lucene. This will denormalize it, but that is not a problem. Erik On Mar 10, 2006, at 1:39 PM, James Cook wrote: Is there

Re: colapsing the result by a given field

2006-03-12 Thread Chris Hostetter
: What would be the easiest to achieve that? The easiest way is to do the search 10 times, and use either a Filter or a BooleanQuery with a mandatory companyId:XXX clause in each to restrict the results. Which appraoch you take depends on how many total companies might be used over time, and

Good MMapDirectory performance

2006-03-12 Thread kent.fitch
I thought I'd post some good news about MMapDirectory as the comments in the release notes are quite downbeat about its performance. In some environments MMapDirectory provides a big improvement. Our test application is an index of 11.4 million documents which are derived from MARC

Re: How to search multi indices

2006-03-12 Thread wu fox
thank you Erik 2006/3/12, Erik Hatcher [EMAIL PROTECTED]: On Mar 12, 2006, at 1:27 AM, wu fox wrote: Hi: I have tow indices A and B. Field title is in index A and field label is in B.Now I'd like to search with query title:XXX AND label:XXX,surely I expect search title:XXX in

Re: How does MultiSearcher Work

2006-03-12 Thread wu fox
thank you Yonik 2006/3/12, Yonik Seeley [EMAIL PROTECTED]: On 3/11/06, wu fox [EMAIL PROTECTED] wrote: Hi : I'd like to search several indices located at diffrence partition.Ithink use MultiSearcher is the right way.But when I inspected the source code of this class,I was confused

Re: 100,000 indexes and what to do

2006-03-12 Thread Otis Gospodnetic
Lawrence, Thanks for the LIA compliments. In addition to what Paul and Chris already mentioned, keep in mind open files (also covered in LIA). If you have 100K separate indices, that means a lot of open file descriptors. One common index doesn't have this problem. Separate indices are still