Details
-
New Feature
-
Status: Reopened
-
Minor
-
Resolution: Not A Problem
-
None
-
Operating system : Windows 8.1
Software platform : Eclipse Kepler 4.3.2
-
New
Description
We have observed that Lucene does not check if the same Similarity function is used during indexing and searching. The same problem exists for the Analyzer that is used. This may lead to poor or misleading results.
So we decided to create an xml file during indexing that will store information such as the Analyzer and the Similarity function that were used as well as the version of Lucene that was used. This xml file will always be available to the users.
At search time , we will retrieve this information using SAX parsing and check if the utils used for searching , match those used for indexing. If not , a warning message will be displayed to the user.