RE: Alternate Use of Lucene

2006-03-11 Thread Andrew Schetinin
Hi James, >From one side, it is easy - you simply enumerate all the found objects, and for each object retrieve the field Supervisor, sorting and removing duplicates on the fly. >From the other side, this way you'll get linear performance, and even worse - retrieving fields is not a very fast oper

How to search multi indices

2006-03-11 Thread wu fox
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 me to do this or I have to write some code

Re: How does MultiSearcher Work

2006-03-11 Thread Yonik Seeley
On 3/11/06, wu fox <[EMAIL PROTECTED]> wrote: > Hi : > I'd like to search several indices located at diffrence partition.I think > use MultiSearcher is the right way.But when I inspected the source code of > this class,I was confused because I can not find any code that seach all > the indices a

Index validation utility

2006-03-11 Thread Jeff Rodenburg
I'm working on a utility program to help me verify/validate my Lucene indexes. By that, I mean checking for data conformance, minimum fields, etc. Using XML Schema Definition (http://www.w3.org/XML/Schema), my goal is to ensure that indexes that I create are compliant for requisite fields, data t

colapsing the result by a given field

2006-03-11 Thread emerson cargnin
In my company's system we need to make a search that would return hundreds of result. Its a search over extracts of websites of the companies we list. We have the ID (usually max of 10 will be used at each search) of the companies which are used to bring the extracts (each ID my have hundreds of ex

Re: 100,000 indexes and what to do

2006-03-11 Thread Chris Lu
I think it's best to have one small index for each customer, and one large index for company's index. Merging customers' contents with the main index will cost a lot of resources, slowing down systems, while actually not necessary. If indexing is done by batch job, there'll be a delay between cont

How does MultiSearcher Work

2006-03-11 Thread wu fox
Hi : I'd like to search several indices located at diffrence partition.I think use MultiSearcher is the right way.But when I inspected the source code of this class,I was confused because I can not find any code that seach all the indices and combine the result ,how does this class do this job?A

Re: 100,000 indexes and what to do

2006-03-11 Thread Paul Elschot
On Saturday 11 March 2006 08:07, Lawrence wrote: > Hi all, > > > > I was reading one of the posting on concurrency and I reread section 9.1 in Lucene in Action which lead me to this question. I have 100,000 customers and I want to provide them with personal searching for their documents and s