Hi Jörn,
Does your publication have a conf/cocoon-xconf/index_manager_index.xconf
file? If not copy the one from the default pub into your pub, and then
s/default/{yourpubid}/g. I believe this used to work from the create
publication usecase but was deactivated for some reason (I think there
is an entry in bugzilla). Anyway here is an example, hope it helps:
<?xml version="1.0"?>
<xconf xpath="/cocoon/index_manager/indexes" >
<index id="{yourpub}-live" analyzer="stopword_en"
directory="lenya/pubs/{yourpub}/work/lucene/index/live/index" >
<structure>
<field id="url" type="keyword" />
<field id="title" type="text" storetext="true"/>
<field id="description" type="text" storetext="true"/>
<field id="subject" type="keyword" storetext="true" />
<field id="body" type="text" storetext="true"/>
</structure>
</index>
<index id="{yourpub}-authoring" analyzer="stopword_en"
directory="lenya/pubs/{yourpub}/work/lucene/index/authoring/index" >
<structure>
<field id="url" type="keyword" />
<field id="title" type="text" storetext="true"/>
<field id="description" type="text" storetext="true"/>
<field id="subject" type="keyword" storetext="true" />
<field id="body" type="text" storetext="true"/>
</structure>
</index>
</xconf>
--Doug
Jörn Nettingsmeier wrote:
hi everyone!
search is broken on all my self-created publications :(
i have copied lucene-live.xconf from the default publication, but i
always get rather useless error message when trying to use the search
function:
cause: org.apache.cocoon.components.search.IndexException: message:
index <mypub>-<area> doesn't exist
yeah, well.
can anyone give a step-by-step guide to get it to work?
i.e.: which config files must be there? any directories i need to
create? which usecases do i need to call?
best,
jörn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]