suresh2291 / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

Cannot add or edit documents using StandardAnalyzer #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a Lucene index in Luke
2. On the documents tab, click the Reconstruct and Edit button
3. Click the Add button
4. Create a new field
5. Select the StandardAnalyzer
6. Click the Add to Index button

What is the expected output? What do you see instead?

I expected the new document to be added to the index. Instead, I receive the 
following error message: "Could not instantiate Analyzer 
'org.apache.lucene.analysis.standard.StandardAnalyzer'. Please select a valid 
Analyzer."  

This problem also occurs when editing an existing document.

What version of the product are you using? On what operating system?

I use Luke 1.0.1 on Windows XP.

Please provide any additional information below.

The following analyzers work properly: 
KeywordAnalyzer
SimpleAnalyzer
WhitespaceAnalyzer

These analyzers have the same problem as the StandardAnalyzer:
StopAnalyzer
SnowballAnalyzer

I did not check the PerFieldAnalyzerWrapper or any of the specific language 
analyzers.

Original issue reported on code.google.com by dean.thr...@gmail.com on 21 Sep 2010 at 2:24

GoogleCodeExporter commented 9 years ago
Fixed in rev. 63 (branch-3x) and in rev. 64 (trunk). Thank you!

Original comment by sig...@gmail.com on 27 Apr 2011 at 12:21

GoogleCodeExporter commented 9 years ago

Original comment by sig...@gmail.com on 27 Apr 2011 at 12:21