Hi Jesse/all,
it saw it in trunk, but is it supported in v2.6.4?
https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/tags/2.6.4/web/src/main/webapp/WEB-INF/config-lucene.xml
https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/web/src/main/webapp/WEB-INF/config-lucene.xml
kind regards
Jørn-Vegard Røsnes
----- Original Message -----
From: "Jesse Eichar" <jesse.eichar@anonymised.com>
To: "Jørn Vegard Røsnes" <jorn@anonymised.com>
Cc: geonetwork-devel@lists.sourceforge.net
Sent: Wednesday, 7 March, 2012 2:06:31 PM
Subject: Re: [GeoNetwork-devel] xml.search - output fields
Have you looked at the config-lucene.xml? It declares the dumpFields.
Jesse
On Wed, Mar 7, 2012 at 11:38 AM, Jørn Vegard Røsnes < jorn@anonymised.com > wrote:
Hi all,
we are utilizing GeoNetwork xml.search for B2B communication.
In the xml.search output we would love to have:
- popularity
- rating
- orgName
Do you know if this is possible to configure?
In LuceneSearcher.java - present method there is _luceneConfig.getDumpFields().
May this be the option we need...
if (fast) {
md = getMetadataFromIndex(doc, id, false, null);
} else if ("index".equals(sFast)) {
// Retrieve information from the index for the record
md = getMetadataFromIndex(doc, id, true, _luceneConfig.getDumpFields());
// Retrieve dynamic properties according to context (eg. editable)
gc.getDataManager().buildExtraMetadataInfo(srvContext, id, md.getChild( Edit.RootChild.INFO , Edit.NAMESPACE));
} else if (srvContext != null) {
boolean forEditing = false, withValidationErrors = false, keepXlinkAttributes = false;
md = gc.getDataManager().getMetadata(srvContext, id, forEditing, withValidationErrors, keepXlinkAttributes);
}
kind regards
Jørn-Vegard Røsnes
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork