Re: indexing problems

2006-03-07 Thread Apache Lucene
BTW, I could access that index using Luke. It works fine. On 3/7/06, Apache Lucene <[EMAIL PROTECTED]> wrote: > > This line is throwing a null pointer exception for the index I created as > I mentioned in my previous emails. > > searcher = new IndexSearcher(IndexReader.open(indexPath) ); > > Any

Re: indexing problems

2006-03-07 Thread Apache Lucene
This line is throwing a null pointer exception for the index I created as I mentioned in my previous emails. searcher = new IndexSearcher(IndexReader.open(indexPath) ); Any ideas? I made sure the indexPath is a valid path. thanks, lucenenator On 3/7/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:

Re: indexing problems

2006-03-07 Thread Erik Hatcher
On Mar 7, 2006, at 10:41 AM, Apache Lucene wrote: Is it advisable to use compound file format? or should I revert it back to simple file format? How do I revert it back? There is a setter on IndexWriter to set it back if you like. The compound format avoids the issues that cropped up a

Re: indexing problems

2006-03-07 Thread Apache Lucene
Is it advisable to use compound file format? or should I revert it back to simple file format? How do I revert it back? thanks, lucenenator On 3/7/06, Yonik Seeley <[EMAIL PROTECTED]> wrote: > > You are using the compound file format (the default since 1.4) and the > .cfs file contains all thos

Re: indexing problems

2006-03-07 Thread Yonik Seeley
You are using the compound file format (the default since 1.4) and the .cfs file contains all those individual parts. -Yonik On 3/7/06, Apache Lucene <[EMAIL PROTECTED]> wrote: > Hi, >I am using Lucene 1.9.1 to index the files. The index writer created > the following files > (1) segment

Re: Indexing problems in a dictionary

2005-09-03 Thread Ahmet Aksoy
Hi Paul, I decided to use a minimum number of stop words in my application. I hope, it will work better. According to your suggestion, I made a few trials, and found my optimum values. The following values look like best in my case: mergeFactor = 100; minMergeDocs = 500; maxMergeDocs = 1000

Re: Indexing problems in a dictionary

2005-09-03 Thread Paul Elschot
Ahmet, On Saturday 03 September 2005 10:12, Ahmet Aksoy wrote: > Hi, > I'm using Lucene in an open source java project at > http://belletmen.dev.java.net . > In the project there are several dictionaries with a simple structure. > All items are composed of a "phrase", and a "definition". Both pa