Hello,
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> 
> I search in a field called "url". url:www.blah.com does 
> return hits while 
> url:blah.com does not. So I tried url:*blah.com but this does 
> even throw a 
> ParseException.
> 
> What am I doing wrong?
Wildcards at the beginning of a term are not supported. Lucene use the first
characters to speedup the search for matching terms (== words). So the query
parser doesn't accept you query. (Afterwise lucene has to examine all terms
and this would be very slow).
You may use a second field to store the url as invered string, e.g.
invurl: moc.halb.www and search for invurl:moc.halb.* instead.
Checkout the archives for both mailing lists ([EMAIL PROTECTED]
and [EMAIL PROTECTED]). IRC there are other proposals discussed
serveral time ago to workaround this limit.
Regards,
        Wolf-Dietrich
-- 
Wolf-Dietrich Materna
Development
 
empolis GmbH -  arvato knowledge management 

phone: +49 - 30 - 34 35 34 95 
<<mailto:[EMAIL PROTECTED]>> <<http://www.empolis.com>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to