lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "none none" <kor...@lycos.com>
Subject Re: Urgent Help on search
Date Sat, 14 Jun 2003 03:14:02 GMT
did you read the documentation?
it's pretty easy, what is your problem?
any error? did you compile the code?

--- anyways,
i found the error, was the maxfieldlenght,
i was sure i chenged it but i was wrong, so big files get not completely tokenized.

--

--------- Original Message ---------

DATE: Sat, 14 Jun 2003 02:22:14
From: "Mahesh Joshi" <mkjoshi_2002@hotmail.com>
To: korfut@lycos.com
Cc: 

>Hi there !!!,
>
>I am a step before that, trying to compile/run the Lucene code ,, getting 
>"Main" ,Monitor error.,,
>Steps for running the Lucene code would highly be appreciated,
>
>Thanks a lot in advance,,
>
>Joshi
>
>
>>From: "none none" <korfut@lycos.com>
>>Reply-To: korfut@lycos.com
>>To: lucene-dev@jakarta.apache.org
>>Subject: Urgent Help on search
>>Date: Fri, 13 Jun 2003 12:53:45 -0700
>>
>>Hi all,
>>i have problems searching the index, what i do is run a simple query, look 
>>for the word:
>>strontium
>>
>>no hits are returned but a few documents have it.
>>I noticed many terms like *ium are skipped.
>>I dump the index TermEnum and the terms are not there:
>>
>>...
>>stroll
>>strong
>>stronger
>>strongest
>>strongly
>>strtype
>>struck
>>...
>>
>>when i index i use StandardAnalyser.java:
>>
>>public class StandardAnalyzer extends Analyzer
>>{
>>
>>     public StandardAnalyzer()
>>     {
>>         this(STOP_WORDS);
>>     }
>>
>>     public StandardAnalyzer(String stopWords[])
>>     {
>>         stopTable = StopFilter.makeStopTable(stopWords);
>>     }
>>
>>     public TokenStream tokenStream(String fieldName, Reader reader)
>>     {
>>         TokenStream result = new StandardTokenizer(reader);
>>         result = new StandardFilter(result);
>>         result = new LowerCaseFilter(result);
>>         result = new StopFilter(result, stopTable);
>>         return result;
>>     }
>>
>>     private Hashtable stopTable;
>>     public static final String STOP_WORDS[] = new String[0];
>>
>>}
>>
>>as you can see, i use no no stop words. I didn't change any of the filters.
>>What is the problem? what i am doing wrong?
>>thank you guys.
>>
>>
>>____________________________________________________________
>>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>>http://login.mail.lycos.com/r/referral?aid=27005
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>>
>
>_________________________________________________________________
>Dress up your desktop! Get the best wallpapers. 
>http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just 
>click here!
>
>



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message