Re: Problems in searching with lucene by filenames
Posted By:
Charles_Sanders
Posted On:
Thursday, June 16, 2005 03:41 PM
Couple of things to consider: Field Type and Analyzer. What field type are you using for the file name? Are you using a field type that is tokenized? If so, you may not want to do this. If you do want to tokenize the file names, then look at the analyzer you are using and how it handles special characters (:, , .). Some analyzers break strings on special characters and remove the characters. Other analyzers leave some special characters in place. Depending on how the analyzer handle special characters, it could make searching difficult.