TooManyClauses and maxClauseCount question

2010-01-20 Thread john smith
Hi I'am getting TooManyClauses exception while performing wildcard query. I'am thinking about changing max clause count limit (BooleanQuery.setMaxClauseCount() method). My question referes to memory consumption in case of increasing maxClauseCount parameter. Does Lucene do it in a smart way (

searched terms frequency question

2008-12-16 Thread john smith
Hi Each document found in a Lucene index contains scoring information however it doesn't provide (in the same easy way as scoring) an information about a number of occurrences of searched terms in its contents. Using Lucene API I can check each searched term against its frequecies in each found do

searched terms frequency question

2008-12-16 Thread john smith
Hi Each document found in a Lucene index contains scoring information however it doesn't provide (in the same easy way as scoring) an information about a number of occurrences of searched terms in its contents. Using Lucene API I can check each searched term against its frequecies in each foun

document field indexing

2007-07-10 Thread john smith
Hi Lets say we have a single lucene document that has two text fields: field1 and field2. Data kept in field1 is a long string that changes rarely. It takes some time to index it. Data kept in field2 is a short string and changes often. Is it possible to update (reindex) document field2 withou

Re: Question related to using FieldCacheImpl

2006-04-06 Thread John Smith
Thank you JS --- Yonik Seeley <[EMAIL PROTECTED]> wrote: > On 4/6/06, John Smith <[EMAIL PROTECTED]> > wrote: > >// inherit javadocs > > public String[] getStrings (IndexReader reader, > String field) > > > > The string array I get back, is

Question related to using FieldCacheImpl

2006-04-06 Thread John Smith
Hi I need to access min and max values of a particular field in the index, as soon as a searcher is initialized. I don't need it later. Looking at old newsgroup mails, I found a few recommendations. One was to keep the min and max fields external to the index. But this will not work

DateField vs DateTools

2006-04-06 Thread John Smith
Hi We are in the process of upgrading Lucene from 1.2 to 1.9. There used to be 2 methods in DateField.java in 1.2 public static String MIN_DATE_STRING() public static String MAX_DATE_STRING() This basically gave the minimum and the maximum dates we could index using

Re: ParallelReader

2005-10-10 Thread John Smith
same number of docs. Wouldn't people want to stick with just one index in any case? Any comments or response appreciated. JZ John Smith <[EMAIL PROTECTED]> wrote: A while ago I had asked a question on what would be a good solution for a situation mentioned below and I was poi

Re: ParallelReader

2005-10-10 Thread John Smith
no way of addressing the situation. JZ Eyal <[EMAIL PROTECTED]> wrote:Run a search on "Lucene ParallelReader" in google - You'll find something Doug Cutting wrote that I believe is what you're looking for. Eyal > -Original Message- > From: Joh

ParallelReader

2005-10-10 Thread John Smith
Hi I am using the ParallelReader feature from Lucene 1.9. I have 2 indexes, one that doesn’t change and the other that changes often. I delete and re-index documents from the dynamic index often. I am indexing the documents with a keyword field “id” and giving it a unique number. Th

Re: ParallelReader and Date Filter

2005-09-12 Thread John Smith
Thank you. I will try that JS Erik Hatcher <[EMAIL PROTECTED]> wrote: On Sep 12, 2005, at 2:04 PM, John Smith wrote: > I have Lucene 1.4.3 codebase and I got Parallel Reader from the > trunk along with a few changes that need to go on top of it to make > it compile. I highl

ParallelReader and Date Filter

2005-09-12 Thread John Smith
Hi, I have Lucene 1.4.3 codebase and I got Parallel Reader from the trunk along with a few changes that need to go on top of it to make it compile. II have 2 indexes, against which I am querying using the Parallel Reader. Most of my queries work great. Thanks for the great work on this featu

RE: Updating existing documents in index: Solutions

2005-08-11 Thread John Smith
Thank you . That does look like what I want JS Eyal <[EMAIL PROTECTED]> wrote: Run a search on "Lucene ParallelReader" in google - You'll find something Doug Cutting wrote that I believe is what you're looking for. Eyal > -Original Message- >

Updating existing documents in index: Solutions

2005-08-11 Thread John Smith
Hi all This is a slightly long email. Pardon me. As Lucene does not allow for updating an existing document in the index, the only option is to delete and reindex the message.When you have too many updates, this gets a little cumbersome. In our case, as such the actual content of the do