[GeoNetwork-devel] Search by Publish Date

Hy Byron, You could also have a look to geosource source code which implements the search by date in the interface. Lucene index conf file for iso19115 should look like that https://admisource.gouv.fr/svn/geocatalogue/trunk/geosource/web/xml/search/iso19115Fra.xsl search for date section.
Then you have to update the main page.

HTH.
Francois

-----Message d’origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net [mailto:geonetwork-devel-bounces@lists.sourceforge.net ] De la part de Andrea Carboni
Envoyé : lundi 9 juillet 2007 16:39
À : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Search by Publish Date

Hi Byron,

before searching for a field, you have to index it. Into web/geonetwork/
xml/search there are the stylesheets where you can choose the fields
to index. Then you have to change the main page to add the choice of
the new field. The new field you add here directly goes to the search engine.

Cheers,
Andrea

Hello,

I am in the process of implementing GeoNetwork as the primary metadata tool
for our organization and am very impressed with all the thought and effort
that has gone into its design. Kudos to all.
One requirement that I face in implementation is the ability to search the
metadata by publish or edition date. Is this posible? If so, how do I do
this?
Does anyone have documentation describing how the lucene search engine
works, and better yet, how to extend it?

Cheers,
Byron


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


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

Francois,

Thanks for this. Using your example, I was able to get the date search
functionality working. Along with updating the main page, I also needed to
update the .../xml/search/lucene.xsl to look for the new search fields. It
works great. Maybe I should post this to Jeroen's new user cotribution
area?

Now I would like to improve this modifacation one step further by storing
the selected date variables in sessions as the other search criteria are.
Does anyone know how I go about doing this - adding more fields to the
session variables?

Cheers,
Byron

Fx wrote:

Hy Byron, You could also have a look to geosource source code which
implements the search by date in the interface. Lucene index conf file for
iso19115 should look like that
https://admisource.gouv.fr/svn/geocatalogue/trunk/geosource/web/xml/search/iso19115Fra.xslsearch
for date section.
Then you have to update the main page.

HTH.
Francois

-----Message d'origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net [mailto:
geonetwork-devel-bounces@lists.sourceforge.net] De la part de Andrea
Carboni
Envoyé : lundi 9 juillet 2007 16:39
À : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Search by Publish Date

Hi Byron,

before searching for a field, you have to index it. Into web/geonetwork/
xml/search there are the stylesheets where you can choose the fields
to index. Then you have to change the main page to add the choice of
the new field. The new field you add here directly goes to the search
engine.

Cheers,
Andrea

Hello,

I am in the process of implementing GeoNetwork as the primary metadata

tool

for our organization and am very impressed with all the thought and
effort
that has gone into its design. Kudos to all.
One requirement that I face in implementation is the ability to search
the
metadata by publish or edition date. Is this posible? If so, how do I
do
this?
Does anyone have documentation describing how the lucene search engine
works, and better yet, how to extend it?

Cheers,
Byron

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

--
View this message in context: http://www.nabble.com/Search-by-Publish-Date-tf4033070s18419.html#a11803880
Sent from the geonetwork-devel mailing list archive at Nabble.com.

Hy Byron, problem is that this field could not be in some standard used (eg.
DC) so we should not add this functionality to the trunk. Maybe the best way
could be to create an how-to on how to add new search criteria in
GeoNetwork.

Regarding session, I don't really know ... I think Jeeves is in charge of
managing the session ?

Ciao. Francois

-----Message d'origine-----
De : geonetwork-devel-bounces@lists.sourceforge.net
[mailto:geonetwork-devel-bounces@lists.sourceforge.net] De la part de ByronC
Envoyé : jeudi 26 juillet 2007 06:16
À : geonetwork-devel@lists.sourceforge.net
Objet : Re: [GeoNetwork-devel] Search by Publish Date

Francois,
Thanks for this. Using your example, I was able to get the date
searchfunctionality working. Along with updating the main page, I also
needed toupdate the .../xml/search/lucene.xsl to look for the new search
fields. Itworks great. Maybe I should post this to Jeroen's new user
cotributionarea?
Now I would like to improve this modifacation one step further by storingthe
selected date variables in sessions as the other search criteria are. Does
anyone know how I go about doing this - adding more fields to thesession
variables?
Cheers,Byron

Fx wrote:> > Hy Byron, You could also have a look to geosource source code
which> implements the search by date in the interface. Lucene index conf
file for> iso19115 should look like that>
https://admisource.gouv.fr/svn/geocatalogue/trunk/geosource/web/xml/search/i
so19115Fra.xslsearch> for date section.> Then you have to update the main
page.> > HTH.> Francois> > > -----Message d'origine-----> De :
geonetwork-devel-bounces@lists.sourceforge.net [mailto:>
geonetwork-devel-bounces@lists.sourceforge.net] De la part de Andrea>
Carboni> Envoyé : lundi 9 juillet 2007 16:39> À :
geonetwork-devel@lists.sourceforge.net> Objet : Re: [GeoNetwork-devel]
Search by Publish Date> > Hi Byron,> > before searching for a field, you
have to index it. Into web/geonetwork/> xml/search there are the stylesheets
where you can choose the fields> to index. Then you have to change the main
page to add the choice of> the new field. The new field you add here
directly goes to the search> engine.> > Cheers,> Andrea> >> Hello,>>>> I am
in the process of implementing GeoNetwork as the primary metadata> tool>>
for our organization and am very impressed with all the thought and>>
effort>> that has gone into its design. Kudos to all.>> One requirement
that I face in implementation is the ability to search>> the>> metadata by
publish or edition date. Is this posible? If so, how do I>> do>> this?>>
Does anyone have documentation describing how the lucene search engine>>
works, and better yet, how to extend it?>>>> Cheers,>> Byron> >
------------------------------------------------------------------------->
This SF.net email is sponsored by DB2 Express> Download DB2 Express C - the
FREE version of DB2 express and take> control of your XML. No limits. Just
data. Click to get it now.> http://sourceforge.net/powerbar/db2/>
_______________________________________________> 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> >
------------------------------------------------------------------------->
This SF.net email is sponsored by DB2 Express> Download DB2 Express C - the
FREE version of DB2 express and take> control of your XML. No limits. Just
data. Click to get it now.> http://sourceforge.net/powerbar/db2/>
_______________________________________________> 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>
-- View this message in context:
http://www.nabble.com/Search-by-Publish-Date-tf4033070s18419.html#a11803880S
ent from the geonetwork-devel mailing list archive at Nabble.com.

-------------------------------------------------------------------------Thi
s SF.net email is sponsored by: Splunk Inc.Still grepping through log files
to find problems? Stop.Now Search log events and configuration files using
AJAX and a browser.Download your FREE copy of Splunk now >>
http://get.splunk.com/_______________________________________________GeoNetw
ork-devel mailing
listGeoNetwork-devel@anonymised.com://lists.sourceforge.net/list
s/listinfo/geonetwork-develGeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork