lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Were <chris.w...@gmail.com>
Subject Indexing domain names?
Date Sun, 08 Nov 2009 06:20:34 GMT
Hi,

How do I go about indexing domain names? I currently index the domain, but
it only works if I put the exact full domain in. For example:

site:www.youtube.com (this works)
site:youtube.com (this doesn't work)

I am using the StandardAnalyzer as most of the other fields being indexed
are free form text. Currently the "site" field is stored and tokenized.

As an additional improvement it would be even better if something like this
worked:

site:youtube.com/foo

Cheers,
Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message