lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fulllHD <hikmetdar...@gmail.com>
Subject IndexWriter indexes given default turkish stopwords
Date Thu, 04 Aug 2011 16:12:17 GMT
hi, 
i want to index turkish documents and i didnt changed default stopwords.
after indexing while i look at the index with Luke and search stopwords they
come in results and i see them indexed. here my configuration code lucene
version 3.3. do you have any opinion about that ???

TurkishAnalyzer turkishAnalyzer = new TurkishAnalyzer(Version.LUCENE_33);
IndexWriterConfig indexWriterConfig = new
IndexWriterConfig(Version.LUCENE_33, turkishAnalyzer);
indexWriterConfig.setOpenMode(OpenMode.APPEND);
TieredMergePolicy tieredMergePolicy = new TieredMergePolicy();
indexWriterConfig.setMergePolicy(tieredMergePolicy );
indexWriterConfig.setRAMBufferSizeMB(32);
indexWriter = new IndexWriter(FSDirectory.open(new
File(directoryBean.getDirPath())), indexWriterConfig);


waiting for help...

--
View this message in context: http://lucene.472066.n3.nabble.com/IndexWriter-indexes-given-default-turkish-stopwords-tp3225876p3225876.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message