Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_29);
IndexSearcher indexSearcher;
File file = new File("/sdcard/index/");
Directory indexDir = FSDirectory.open(file);
indexSearcher = new IndexSearcher(indexDir, true);
QueryParser parser = new QueryParser(Version.LUCENE_29, "DIG", analyzer);
Query query = parser.parse(mEdit.getText().toString());
ScoreDoc[] hits = indexSearcher.search(query, null, 1000).scoreDocs;
Hi this is my code for lucene text searching in version 2.9.2. I want to write code for lucene snowball 2.9.2 so that if I will search text " game" then it will search document which contain "game" also it will search document for "games". Please tell me how to write the code for this. I'm able to search text in Lucene but I want do it for lucene snowball 2.9.2