Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
ot;, this.analyzer); Query queryPath = queryParserPath.parse(path); booleanQuery.add(queryPath, BooleanClause.Occur.MUST); } TopDocs hits = searcher.search(booleanQuery, bool, 1); return hi

Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
ons pass and there isn't a match, then i return a false. The Performance shoudn't be too bad, because it's a linear complexity. I'll post the java methods if anyone is interested. Thanks, Florian Klingler - Ursprüngliche Mail - Von: "Anshum" An: java-user

Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
; -> Matches, so the URL and all subURLs are blocked. So my Question is, is there a possibility to specify an Query to serch only for exact Document-Matches. Thanks very much, Florian Klingler - Ursprüngliche Mail - Von: "Anshum" An: java-user@lucene.apache.org Gesendet

Lucene search in URL

2009-09-19 Thread Florian Klingler
duction_code/test" should match "en.wikipedia.org/wiki/test" should not match Thank you very much, Florian Klingler - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org