lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Outar" <rou...@ideorlando.org>
Subject Error when trying to match file path
Date Wed, 23 Oct 2002 21:47:34 GMT
Hi all,

I am indexing the filepath with the below:

 Document doc = new Document();
        doc.add(Field.UnIndexed("path", f.getAbsolutePath()));

I then try to run the following after building the index:

 this.query =
QueryParser.parse(file.getAbsolutePath(),"path",this.analyzer);
        Hits hits = this.searcher.search(this.query);

It returns zero hits?!?

What am I doing wrong?

Any help would be appreciated.

Thanks,

Rob

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message