[GeoNetwork-devel] Add field to Lucene Index

Hi all,

we are trying to add the ISO19139 field “contenInfo” to Lucene Index to do search about variables of metadata. We are modified the index-fields.xsl in our iso19139 schema folder and we have added the appropiate part to index-fields.xsl with the contentInfo to a field contentinfo, exactly this:

<xsl:for-each select=“gmd:dimension/gmd:MD_Band/gmd:sequenceIdentifier/gco:MemberName/gco:aName/gco:CharacterString”>

</xsl:for-each>

Restart geonetwork and explore the Lucene index with Luke but we don’t see the new field. It is necesary to do something more?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

I don’t think you needed to restart but you will need to re-index all metadata.

Jesse

On Thu, Aug 11, 2011 at 9:25 AM, Micho <michogar@anonymised.com> wrote:

Hi all,

we are trying to add the ISO19139 field “contenInfo” to Lucene Index to do search about variables of metadata. We are modified the index-fields.xsl in our iso19139 schema folder and we have added the appropiate part to index-fields.xsl with the contentInfo to a field contentinfo, exactly this:

<xsl:for-each select=“gmd:dimension/gmd:MD_Band/gmd:sequenceIdentifier/gco:MemberName/gco:aName/gco:CharacterString”>

</xsl:for-each>

Restart geonetwork and explore the Lucene index with Luke but we don’t see the new field. It is necesary to do something more?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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

And, how I can do re-index all metadata?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

2011/8/11 Jesse Eichar <jesse.eichar@anonymised.com>

I don’t think you needed to restart but you will need to re-index all metadata.

Jesse

On Thu, Aug 11, 2011 at 9:25 AM, Micho <michogar@anonymised.com> wrote:

Hi all,

we are trying to add the ISO19139 field “contenInfo” to Lucene Index to do search about variables of metadata. We are modified the index-fields.xsl in our iso19139 schema folder and we have added the appropiate part to index-fields.xsl with the contentInfo to a field contentinfo, exactly this:

<xsl:for-each select=“gmd:dimension/gmd:MD_Band/gmd:sequenceIdentifier/gco:MemberName/gco:aName/gco:CharacterString”>

</xsl:for-each>

Restart geonetwork and explore the Lucene index with Luke but we don’t see the new field. It is necesary to do something more?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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

in the administration page there is a button to trigger the reindexing

On Thu, Aug 11, 2011 at 10:13 AM, Micho <michogar@anonymised.com> wrote:

And, how I can do re-index all metadata?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

2011/8/11 Jesse Eichar <jesse.eichar@anonymised.com>

I don’t think you needed to restart but you will need to re-index all metadata.

Jesse

On Thu, Aug 11, 2011 at 9:25 AM, Micho <michogar@anonymised.com> wrote:

Hi all,

we are trying to add the ISO19139 field “contenInfo” to Lucene Index to do search about variables of metadata. We are modified the index-fields.xsl in our iso19139 schema folder and we have added the appropiate part to index-fields.xsl with the contentInfo to a field contentinfo, exactly this:

<xsl:for-each select=“gmd:dimension/gmd:MD_Band/gmd:sequenceIdentifier/gco:MemberName/gco:aName/gco:CharacterString”>

</xsl:for-each>

Restart geonetwork and explore the Lucene index with Luke but we don’t see the new field. It is necesary to do something more?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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

Ok, thanks, I go to try this.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

2011/8/11 Jesse Eichar <jesse.eichar@anonymised.com>

in the administration page there is a button to trigger the reindexing

On Thu, Aug 11, 2011 at 10:13 AM, Micho <michogar@anonymised.com> wrote:

And, how I can do re-index all metadata?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org

2011/8/11 Jesse Eichar <jesse.eichar@anonymised.com>

I don’t think you needed to restart but you will need to re-index all metadata.

Jesse

On Thu, Aug 11, 2011 at 9:25 AM, Micho <michogar@anonymised.com> wrote:

Hi all,

we are trying to add the ISO19139 field “contenInfo” to Lucene Index to do search about variables of metadata. We are modified the index-fields.xsl in our iso19139 schema folder and we have added the appropiate part to index-fields.xsl with the contentInfo to a field contentinfo, exactly this:

<xsl:for-each select=“gmd:dimension/gmd:MD_Band/gmd:sequenceIdentifier/gco:MemberName/gco:aName/gco:CharacterString”>

</xsl:for-each>

Restart geonetwork and explore the Lucene index with Luke but we don’t see the new field. It is necesary to do something more?

Thanks.

Micho Garcia
GIS Developer Artisan
http://michogarcia.org


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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


Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev


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