Hello Byron,
2011/8/18 ByronCinNZ <cochranes4@...>:
> Hello,
>
> I need some help adding search parameters to GeoNetwork and include them in
> the Advanced search interface. In GN 2.4 I figured out how I could do this.
> (Then with Simon Pigot's help, I learned how to do this right - Thanks Simon
> :-) ). But now in 2.6 and beyond the old methods do not work.
In 2.6, LuceneQueryBuilder was introduced (to improve performance
mainly I think) and was only supporting a pre-defined set of search
fields (so you need to update the java code unfortunately to add a
field).
I've been improving this in trunk [1] and add back the capabality to
add your own fields.
Cheers.
Francois
[1] http://trac.osgeo.org/geonetwork/ticket/480
> I found a post by Francois discussing the replacement of MainUtil.java with
> some new script. ( It seems that this file has also had a name change, to
> SearchDefaults?) One point to these changes seemed to be to make this task
> of adding search parameters easier. And I hope it is, but I have not been
> able to find any instructions on how to accomplish this.
>
> Can anyone offer me some guidance?
>
> Cheers,
> Byron
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Adding-new-search-parameters-tp6697671p6697671.html
> Sent from the GeoNetwork developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> 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-d2d-2
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@...
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>
|