[GeoNetwork-users] geonetwork 3.0.3: add fields to advanced search panel

Hi,
how can I add a search field (i.e. Temporal Extent) to advanced search panel in my geonetwork 3.0.3 installation; in previous versions (2.xx) the field was in the "When" section in the Advanced search.
Thanks in advance.

Teresa Fazio
Technical Specialist
Government & Security SBU

Planetek Italia s.r.l.
Via Massaua 12, I-70132 Bari
Tel.: +39 080 9644200 - Fax: +39 080 9644299
fazio@anonymised.com - http://www.planetek.it

There is still temporal extent search. You must click on three dots.

<http://osgeo-org.1560.x6.nabble.com/file/n5264140/wzLKGMC.png&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264140.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Ok, but the "When" advanced panel search only for Creation and modification
dates, not for temporal extent date.
I find solution adding this div to searchForm.html file

              <div data-gn-period-chooser="tempExtentBegin"
                   data-date-from="searchObj.params.extFrom"
                   data-date-to="searchObj.params.extTo">
              </div>

Even if it adds a new search field
<http://osgeo-org.1560.x6.nabble.com/file/n5264669/Untitled.png&gt;

and it constructs correctly the query
<http://osgeo-org.1560.x6.nabble.com/file/n5264669/Untitled1.png&gt;

Query results are wrong.
Perhaps are there problems on date format?
Can you help me?
Thanks in advance.
Teresa Fazio

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264669.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

It is working here, probably some problems with date format or something like
that.

<http://osgeo-org.1560.x6.nabble.com/file/n5264680/TbmOro8.png&gt;

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264680.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Can you tell me your geonetwork version please?
I'm using 3.0.4.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264690.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I have 3.0.2.
It is also working in last version:
http://apps.titellus.net/geonetwork/srv/eng/catalog.search#/search?resultType=details&fast=index&_content_type=json&from=1&to=20&sortBy=relevance&extFrom=2009-01-01

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264691.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Did you have to add tempExtentBegin and tempExtentEnd to config-lucene.xml
file?

  <tokenized>
    <Field name="any"/>
    <Field name="anylight"/>
    <Field name="abstract"/>
    <Field name="title"/>
    <Field name="altTitle"/>
    <Field name="keywordType"/>
    <Field name="orgName"/>
    <Field name="specificationTitle"/>
    <Field name="levelName"/>
    <Field name="subject"/>
* <Field name="tempExtentBegin"/>
    <Field name="tempExtentEnd"/>*
  </tokenized>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264725.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I have tempExtentBegin in config-lucene (I think this is default), but only
in <dumpFields> section, not in <tokenized>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geonetwork-3-0-3-add-fields-to-advanced-search-panel-tp5264102p5264726.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.