How to write a custom stemmer for Apache Solr

2010-12-24 Thread nitishgarg
have figured out that the stemmers already built in Apache Solr are contained in org.apache.lucene.analysis.nl.* (for Dutch) but I can't find this package in my Lucene folder. Also I need to write a stemmer for marathi language, any help how should I proceed? -- View this message in context: h

Custom Analyzer

2010-12-29 Thread nitishgarg
I have written a custom analyzer for Marathi Language on the lines of French Analyzer present in Lucene tweaking the stemming part. For compilation I put the three classes MarathiAnalyzer, MarathiStemFilter and MarathiStemmer in the MarathiAnalyzer class only (otherwise I was receiving errors that

Re: Custom Analyzer

2010-12-30 Thread nitishgarg
Thanks for replying Erick! I executed this query jar -tf jarfile.jar and my classes were indeed there. Regarding the package I had this line written in my java file: package org.apache.lucene.analysis.mr I removed this line but still it was not working. Then I tried creating a small project (marat

Re: Custom Analyzer

2010-12-31 Thread nitishgarg
My actual class files present in the jar file are: MarathiAnalyzer.class MarathiStemFilter.class MarathiStemmer.class MarathiAnayzer$1.class MarathiAnalyzer$SavedStreams.class Please tell what else do I need to specify about my problem? -- View this message in context: http://lucene.472066.n3.n

Create a hash table when start.jar is run?

2011-01-03 Thread nitishgarg
Hey I want to create a hash table that will be created when start.jar is run to start Apache Solr so that the hash table remains in memory till the time start.jar is running. Also I want to use this hash table every time my analyzer is called (both at indexing and query time). Please tell me how