How to get unique values for field1 where search is on field2?

2008-07-28 Thread senthil kumaran
Hi, I've indexed Book Title,Author Name,Contents and some other fields. Previously I gave option to search string in any of those fields and I displayed results from getting fields "Title","Author Name","Contents" from hits resulted docs. Now I want to display "Title" & "Author Name" list w

Does Lucene search over memory too?

2007-05-28 Thread senthil kumaran
Hi, Does Lucene search FSDirectory as well as buffered in-memory docs while we are calling searcher.search(query)? Why I'm asking this is, I've indexed my doc with mergeFactor & Max.Buff.Docs = 50 and I've optimized and closed it at mid-night only.Beforeoptimization, my search gives partial

Re: how to get approximate total matching

2007-03-15 Thread senthil kumaran
all your indexes? That would help folks give you better responses and perhaps suggest other ways of solving your problem. Erick On 3/14/07, senthil kumaran <[EMAIL PROTECTED]> wrote: > > Hi. > I have more index directories (>6) all in GB,and searching my query > with >

how to get approximate total matching

2007-03-14 Thread senthil kumaran
Hi. I have more index directories (>6) all in GB,and searching my query with single IndexSearcher to all indexes one after another.i.e. I create one IndexSearcher for index1 and search over that.Finally I close that and create new IndexSearcher for index2 and so on. If i get 200 total results

Indexing & search?

2007-03-06 Thread senthil kumaran
Hi, I've indexed 4 among 5 fields with Field.Store.YES & Field.Index.NO. And indexed the remaining one, say it's Field Name is *content*, with Field.Store.YES & Field.Index.Tokenized(It's value is collective value of other 4 fields and some more values).So my search always based on *content*fie