You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Charlie Smith <Sm...@ldschurch.org> on 2004/03/26 22:53:32 UTC
Re: I downloaded latest 1.3 of lucene (lucene-1.3-final ),
searchedfor setUse and only found setUseComp
OOps, I meant to say I found no setUseCompoundFilter(). I read the note
wrong
and tried to compile with ...Filter not ...File.
There is a setUseCompoundFile(), which is what was recommended.
So, got rid of that problem whew. now have others like:
Index.java:125: cannot resolve symbol
symbol : method didParse ()
location: class PdfToText
else if (pp.didParse()) {
^
./EmailThread.java:2: package javax.mail does not exist
import javax.mail.*;
^
./EmailThread.java:3: package javax.mail.internet does not exist
import javax.mail.internet.*;
^
./WordToText.java:5: package org.apache.poi.hdf.extractor does not exist
import org.apache.poi.hdf.extractor.WordDocument;
^
./WordToText.java:11: cannot resolve symbol
symbol : class WordDocument
location: class WordToText
WordDocument wd;
>>> Charlie Smith wrote on 3/26/2004 2:36:37 PM >>>
I downloaded latest 1.3 of lucene (lucene-1.3-final ), searched for setUse and
only found setUseCompoundFile(). No routine called setUseCompoundFile().
>> On 3/26/04 Eric wrote:
The compound format was added to Lucene 1.3 and was not part of 1.2.
>I'd definitely recommend upgrading. Heck, Lucene 1.4 could be released
>any day now :)
> Erik
On Mar 26, 2004, at 12:25 PM, Charlie Smith wrote:
> I'm using lucene-1.2.jar as part of the build for this docSearcher
> application.
> Would these recommendations work for this or should I upgrade to
> lucene 1.3.
>
> In doing so, I'm not sure if a rewrite of the docSearcher will be
> necessary or
> not.
>
>
>>>> Daniel Naber wrote on 3/26/04:
> Try IndexWriter.setUseCompoundFile(true) to limit the number of files.
>
>>>> Erik Hatcher 3/26/2004 2:32:16 AM >>>
> If you are using Lucene 1.3, try using the index in "compound" format.
> You will have to rebuild (or convert) your index to this format. The
> handy utility Luke will convert an index easily.
>
> Erik
>
>
> On Mar 25, 2004, at 9:34 PM, Charlie Smith wrote:
>
>> I need to get solution to following error ASAP. Please help me with
>> this.
>> I'm getting following error returned from call to
>>
>>
>>
>> try {
>> searcher = new IndexSearcher(
>> IndexReader.open(indexName) //create an
>> indexSearcher for our page
>> );
>> } catch (Exception e)
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org