Thanks Chris. That sounds great, but can you tell me if in this
scenario that you mentioned (pointing Solr to Geonetwork's index), is
it possible to make spatial queries as well? I thought that Geonetwork
stores the spatial part of the metadata in PostGIS or JTS and not in
the Lucene index. Wouldn't that then make Solr unable to do spatial
searches?
Sepehr
---------- Forwarded message ----------
From: "Miller, Christopher C" <ccmiller@anonymised.com>
To: geonetwork-users Users <geonetwork-users@lists.sourceforge.net>
Date: Mon, 7 Feb 2011 23:25:22 -0500
Subject: Re: [GeoNetwork-users] Search Facets
Sepehr,
I'm not clued into any discussions about integrating Solr, but I can tell you that we've successfully gone the other way: we pointed a Solr instance right at GeoNetwork's index and with only some modifications to where GeoNetwork stored its index (not necessarily the index itself), we have Solr reading it and doing with it all the stuff you know Solr can do (although I haven't gotten into the cooler faceting stuff, as we're focusing on the GUI we're putting in front of Solr). But it seems to read the index no problem, if that's of interest to you.
Chris
On Feb 7, 2011, at 5:13 PM, Sepehr wrote:
Hi everyone
I was wondering if the metadata search
(http://localhost:8080/geonetwork/srv/en/xml.search) has the
capability to return facets for search results? If not, are there any
plans to support this in near future?
Also, has there been any discussion about incorporating Apache Solr
into Geonetwork, specially now that Solr has started supporting
spatial features?
Sepehr
C.C. Miller
Assistant Professor of Library Science
Geographic Information Systems Specialist
Purdue University Libraries
For our situation we only needed to be able to check spatial extents/bbox values against a user's chosen/drawn bbox, so we use the min/max extents, cast them + 360 degrees in every direction, and just use a Solr's range query to check if the extents fall within/without. It's plenty fast and I don't (think I) do anything that would warrant using PostGIS for GeoNetwork, although of course we use it for the datasets themselves.
Chris
On Feb 8, 2011, at 2:24 PM, Sepehr wrote:
Thanks Chris. That sounds great, but can you tell me if in this
scenario that you mentioned (pointing Solr to Geonetwork's index), is
it possible to make spatial queries as well? I thought that Geonetwork
stores the spatial part of the metadata in PostGIS or JTS and not in
the Lucene index. Wouldn't that then make Solr unable to do spatial
searches?
Sepehr
---------- Forwarded message ----------
From: "Miller, Christopher C" <ccmiller@anonymised.com>
To: geonetwork-users Users <geonetwork-users@lists.sourceforge.net>
Date: Mon, 7 Feb 2011 23:25:22 -0500
Subject: Re: [GeoNetwork-users] Search Facets
Sepehr,
I'm not clued into any discussions about integrating Solr, but I can tell you that we've successfully gone the other way: we pointed a Solr instance right at GeoNetwork's index and with only some modifications to where GeoNetwork stored its index (not necessarily the index itself), we have Solr reading it and doing with it all the stuff you know Solr can do (although I haven't gotten into the cooler faceting stuff, as we're focusing on the GUI we're putting in front of Solr). But it seems to read the index no problem, if that's of interest to you.
Chris
On Feb 7, 2011, at 5:13 PM, Sepehr wrote:
Hi everyone
I was wondering if the metadata search
(http://localhost:8080/geonetwork/srv/en/xml.search) has the
capability to return facets for search results? If not, are there any
plans to support this in near future?
Also, has there been any discussion about incorporating Apache Solr
into Geonetwork, specially now that Solr has started supporting
spatial features?
Sepehr
C.C. Miller
Assistant Professor of Library Science
Geographic Information Systems Specialist
Purdue University Libraries