Hi Lenya devs,
atm the index fields are configured for each publication:
<index id="default-live" analyzer="stopword_en"
directory="lenya/pubs/default/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>
IMO this is an inappropriate place for this configuration. Furthermore,
it has to match the index XSLTs of all resource types.
Wouldn't it be better to
- index all meta data fields
- configure the indexable fields for each resource type (have to
conform to the corresponding index XSLTs)
The index structure would be automatically derived from this
configuration (basically the union of all fields). Changing the meta
data or resource type configuration would certainly require to re-index
the whole content of the web application, but IMO this is not a big issue.
WDYT?
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]