checking index for existance of paths

2013-09-24 Thread Ruud Dozijn
hi all, I am quite new to Lucene. I have downloaded an example from a tutorial, adapted it for version 3.6 (which is the one I have installed) and run it several times. The script indexes an array of files and adds them to the Lucene index. Then, the user can query the documentset by keying

RE: checking index for existance of paths

2013-09-24 Thread Ruud Dozijn
>> >> What can I do to check for a complete file path? > > Do not use the QueryParser. > You do not want an Analyzer, so just create a TermQuery directly. Thanks for the advice, this was the missing jigsaw piece, Ruud