You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Peter Shipley <ps...@nomensa.com> on 2004/03/03 21:26:38 UTC
Searching default live area misses context out
Hi all,
When searching the live area in the default publication (in an
out-the-box install from latest CVS) the search works! The only problem
is the results served up skip the context path, publication name, area
in the url (in tomcat at least) so the links don't work.
i.e.
a search result for the index page of the live area yields:
http://myserver:8080/index.html
instead of
http://myserver:8080/lenya/default/live/index.html
any ideas ?
regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Searching default live area misses context out
Posted by Michael Wechner <mi...@wyona.com>.
Peter Shipley wrote:
> Hi all,
>
> When searching the live area in the default publication (in an
> out-the-box install from latest CVS) the search works! The only
> problem is the results served up skip the context path, publication
> name, area in the url (in tomcat at least) so the links don't work.
>
> i.e.
>
> a search result for the index page of the live area yields:
>
> http://myserver:8080/index.html
>
> instead of
>
> http://myserver:8080/lenya/default/live/index.html
>
> any ideas ?
you can set the prefix within the lucene sitemap, either
src/webapp/lenya/lucene.xmap
or
src/webapp/lenya/pubs/my-pub/lenya/lucene.xmap
where this sitemap is overwriting the core lucene sitemap, e.g.
src/webapp/lenya/pubs/oscom/lenya/lucene.xmap
Please note that Lucene is indexing the files relative to the
htdocs_dump_dir which is being specified within
config/search/lucene.xconf
HTH
Michi
>
> regards
>
> Peter
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org