lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From starz10de <farag_ah...@yahoo.com>
Subject My own nalyzer in lucene
Date Wed, 09 Jul 2008 12:44:56 GMT

Hi All,
I am new in lucene!
 I am trying to do my own nalyzer (myAnalyzer) in lucene. I worte it and I
compile it, then i add myAnlayzer.class to the folder 
  \org\apache\lucene\analysis  and then i create new jar files which
contains myAnalyzer and the other files, then  i imported  myanalyzer in
IndexFile.java successfully:

 import org.apache.lucene.analysis.myAnalyzer;

after that i modified this command in IndexFile.java

  IndexWriter writer = new IndexWriter("index", myAnalyzer(), true);
Unfortunately there is some error here which I couldn't recognize, I feel I
didn't missed any step, also myanalyzer.java was compiled without any error.

Thanks in advance
Farag
-- 
View this message in context: http://www.nabble.com/My-own-nalyzer-in-lucene-tp18360568p18360568.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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