[
http://jira.nuxeo.org/browse/NXP-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stéfane Fermigier updated NXP-1542:
-----------------------------------
Fix Version/s: (was: 5.2 M2)
5.2 M3
> Virtual indexing fields
> -----------------------
>
> Key: NXP-1542
> URL: http://jira.nuxeo.org/browse/NXP-1542
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Reporter: Georges Racinet
> Assignee: Georges Racinet
> Fix For: 5.2 M3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> In various situations, one needs to find or sort documents on something that
> mereley depends on the document properties, without being a true property.
> One solution is of course to declare a new field, a core listener to fill it
> at creation/modification time and tie an indexing field to it.
> A much better solution would be to declare virtual fields, in a pluggable
> fashion. Something like this:
> <virtualField
> resolver="org.nuxeo.ecm.search.fields.extractor.vocabularyResolver"
> type="text" >
> <parameter name="directory">the_directory</parameter>
> (..)
> </virtualField>
> Ideally, the resolver would be instantiated once and keep the parameters as a
> member field. Its main method would input an indexable resource instance and
> the field configuration.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets