lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Picasso <oscgoo...@yahoo.com>
Subject Restricting searches to some URLs
Date Thu, 30 Sep 2004 16:36:28 GMT
Hi,

I use Lucene inside a Cocoon application. The indexed documents URLs are
something like <domain-name>//<integer>/<integer>/<integer>. For example:
flowers//1/234/23
flowers//2/23/90
...
animals//1/34/65
animals//21/98/4532
...

The searches are typically done in a subset of all available URLs.
For example in all URLS that start with "flowers//2/23/" or "animals//21/" or
"animals//".

I don't see how to do this with Cocoon. Maybe it's only due to some limitations
in the Cocoon implementations of searches and indexing, but anyway I would be
interested to know how it can be done in Cocoon and if not, also directly with
Lucene.

Here is what I have tried:
- doing a search in the @field
I have read somewhere that you can index the @uri field but don't see how to do
this with cocoon

- adding a new url field and using it for the search
It doesn't work. It seems, that due to how the urls are written (combination or
integers and '/') I cannot search for something like: url//flowers/*.

Any idea?

Oscar


		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message