Accepted: Free Webinar - Apache Lucene 2.9: Technical Overview of New Features

2009-09-20 Thread Kishore AVK. Veleti
BEGIN:VCALENDAR METHOD:REPLY PRODID:Microsoft Exchange Server 2007 VERSION:2.0 BEGIN:VTIMEZONE TZID:India Standard Time BEGIN:STANDARD DTSTART:16010101T00 TZOFFSETFROM:+0530 TZOFFSETTO:+0530 END:STANDARD BEGIN:DAYLIGHT DTSTART:16010101T00 TZOFFSETFROM:+0530 TZOFFSETTO:+0530 END:DAYLIGHT END

Re: Lucene search in URL

2009-09-20 Thread AHMET ARSLAN
> Thanks for all the Help. > > I've now implemented a modified Version of Ahmet Arslan's > Idea and it works. Great to hear that! Doing query iteration programatically will be faster than making it with ShingleFilter. Since you don't care about scores, you can enhance your search time complex

Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
Here are the Java Methods: public void addDomain(ListType listtype, String domain) throws CorruptIndexException, IOException { this.add(listtype, URIType.Domain, domain, null); } public void addURL(ListType listtype, String url) throws CorruptIndexExcepti

Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
Thanks for all the Help. I've now implemented a modified Version of Ahmet Arslan's Idea and it works. i've splitted up the url in 2 parts: domain and path (with URL.getHost() and URL.getPath()). Add these two Fields to Lucene with Keywordanalyzer(). To Search for a URL i check, if the domain ma

Re: Lucene search in URL

2009-09-20 Thread Anshum
HI Florian, A token would get you a hit on being searched i.e. if you search for any of the tokens from the document you'd get the document as a hit. Also, exact searches work by considering positions. if you search for "A B". All documents having A and B as adjacent terms (in that order) would be

Re: Lucene search in URL

2009-09-20 Thread AHMET ARSLAN
> Is there a possibility in Lucene to do a Exact Search with > Tokenized text? > > Like: "en.wikipedia.org/wiki/production_code" is Tokenized > in > "en.wikipedia.org" > "wiki" > "production" > "code" > with Standardanalyzer. > > And a search will match iff(and only if) all the Tokens > match? >

Re: Lucene search in URL

2009-09-20 Thread Florian Klingler
Thanks for all the Answers, I'll now try to implement this. But i have another question now: Is there a possibility in Lucene to do a Exact Search with Tokenized text? Like: "en.wikipedia.org/wiki/production_code" is Tokenized in "en.wikipedia.org" "wiki" "production" "code" with Standardanalyz