Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Lucene, mail # user - My own nalyzer in lucene


Copy link to this message
-
My own nalyzer in lucene
starz10de 2008-07-09, 12:44

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.
---------------------------------------------------------------------
+
Marcelo Schneider 2008-07-09, 13:00
+
starz10de 2008-07-09, 13:25
+
Erick Erickson 2008-07-09, 13:41