[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1244: lucene doesn't index gmx:anchor keywords added from thesaurus

#1244: lucene doesn't index gmx:anchor keywords added from thesaurus
---------------------+------------------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0
Keywords: |
---------------------+------------------------------------------------------
Tried with vanilla 2.8.0 :

edit one of the sample metadata, add a keyword from a thesaurus -> the
following xml is added to the metadata

{{{
<gmd:descriptiveKeywords><gmd:MD_Keywords><gmd:keyword><gmx:Anchor
xlink:href="http://localhost:8080/geonetwork/srv/en/xml.keyword.get?thesaurus=external.place.regions&id=http
://geonetwork-opensource.org/regions%233">Albania</gmx:Anchor>
}}}

But if you look for a metadata with 'Albania' in the keywords, it doesn't
show up - as if lucene was only indexing pure-text keywords such as
{{{
<gmd:descriptiveKeywords><gmd:MD_Keywords><gmd:keyword><gco:CharacterString>Africa</gco:CharacterString>
}}}

This is with the old-style UI. When using the widgets UI, the /q service
(ie http://localhost:8080/geonetwork/srv/fre/q?fast=index) doesnt return
<keyword>Albania</keyword> for this metadata, it only returns 'pure' text
keywords.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1244&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1244: lucene doesn't index gmx:anchor keywords added from thesaurus
---------------------+------------------------------------------------------
Reporter: landry | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0
Keywords: |
---------------------+------------------------------------------------------

Comment(by landry):

It seems that the old-style xml.search and xml.search?fast=index services
dont return those anchor/xlinks keywords either, so i'm not sure this is
only linked to lucene here.....

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1244#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1244: lucene doesn't index gmx:anchor keywords added from thesaurus
----------------------+-----------------------------------------------------
  Reporter: landry | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.1
Component: General | Version: v2.8.0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed
  * milestone: v2.9.0 => v2.8.1

Comment:

gmx:Anchor content was not being indexed in 2.8.x only (trunk was ok) -
see 672d6eadd51bd893b93f66e81d330893453567ea

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1244#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1244: lucene doesn't index gmx:anchor keywords added from thesaurus
----------------------+-----------------------------------------------------
  Reporter: landry | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.1
Component: General | Version: v2.8.0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by landry):

Thanks, works perfectly now!

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1244#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.