I use Lucene 1.9.1

How to parse an unc path like \\tom\share\5\tom.doc
<file:///\\tom\share\5\tom.doc>  in a query to search in the index key
field?

String key="\\tom\share\5\tom.doc <file:///\\tom\share\5\tom.doc> ";

Ex: Hits hits = multisearch.search(new TermQuery(new Term("key",
QueryParser.escape(key))));

I ask this question because this key exist into the index but I can't
find it

Reply via email to