lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Problem Search using lucene
Date Wed, 01 Aug 2007 09:13:20 GMT
Chhabra, Kapil wrote:

>You just have to make sure that what you are searching is indexed (and
>esp. in the same format/case).
>Use Luke (http://www.getopt.org/luke/) to browse through your index.
>  
>

Does Luke also work re to Nutch?

Thanks

Michael

>This might give you an insight of what you have indexed and what you are
>searching for.
>
>Regards,
>kapilChhabra
>
>-----Original Message-----
>From: masz-wow [mailto:maznorlia.syafina@gmail.com] 
>Sent: Wednesday, August 01, 2007 12:13 PM
>To: java-user@lucene.apache.org
>Subject: Re: Problem Search using lucene
>
>
>Thanks Joe
>
>I'm using this function as my analyzer
>
>public static Analyzer getDefaultAnalyzer() {
>	PerFieldAnalyzerWrapper perFieldAnalyzer = new
>PerFieldAnalyzerWrapper(new
>StopAnalyzer());
>		perFieldAnalyzer.addAnalyzer("contents", new
>StopAnalyzer());
>		perFieldAnalyzer.addAnalyzer("fileID", new
>WhitespaceAnalyzer());
>		perFieldAnalyzer.addAnalyzer("path", new
>KeywordAnalyzer());
>		return perFieldAnalyzer;
>	}
>
>StopAnalyzer builds an analyzer which removes words in
>ENGLISH_STOP_WORDS.That might be the cause why I cannot search words
>such as
>'and' 'to'
>
>BUT
>
>I'm still having problem when I search a few words other than english
>words
>such as name (eg: Ghazat) or string of numbers (eg:45600).
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner@wyona.com, michi@apache.org
+41 44 272 91 61


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


Mime
View raw message