Hi Thomas, Use "Keyword" (untokenized) field to index your paths. Consider using PerFieldAnalyzerWrapper to specify KeywordAnalyzer for your path field. Use the force, Luke - http://www.getopt.org/luke/ , to ensure your paths are indexed correctly.
Otis ----- Original Message ---- From: WATHELET Thomas <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Wednesday, March 22, 2006 9:18:40 AM Subject: Query question 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]