[GeoNetwork-devel] Lucene search only returning 19139 records

Hi,

Has the functionality of the Lucene search changed?

I have a custom schema which I have integrated. Had to create
codelist.xml, labels.xml and extract-uuid.xsl files, and can create
metadata template and records no problem, just can't search them. So I
then tried creating records using the "Template for FDGC" and the
"Template for Dublin Core". Could create the FDGC records but again
couldn't search them. For Dublin Core couldn't even create the records
using the template.

Any ideas/solutions/recommendations on this?

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
------------------------------------------------------------------------
|
The information contained in this communication is for the use of the
|
individual or entity to whom it is addressed, and may contain
|
information which is the subject of legal privilege and/or copyright.
|
If you have received this communication in error, please notify the
|
sender by return E-Mail and delete the transmission, together with any
|
attachments, from your system. Thank you.
|
------------------------------------------------------------------------
|

------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.
If you have received this communication in error, please notify the
sender by return E-Mail and delete the transmission, together with any
attachments, from your system. Thank you.
-------------------------------------------------------------------------

Hi again,

On Oct 11, 2007, at 3:08 AM, Kevin Gunn wrote:

Hi,

Has the functionality of the Lucene search changed?

Not from a conceptual point of view. Updates to the lucene indexing XSLTs have been made to some extent though, but these are improvements more than substantial changes.

I have a custom schema which I have integrated. Had to create
codelist.xml, labels.xml and extract-uuid.xsl files, and can create
metadata template and records no problem, just can't search them.

Did you create the Lucene index building XSLT for the new schema? They are located in web/geonetwork/xml/search and named after the schema.

So I
then tried creating records using the "Template for FDGC" and the
"Template for Dublin Core". Could create the FDGC records but again
couldn't search them.

This is strange.. Not sure what to say unless you come up with more details

For Dublin Core couldn't even create the records
using the template.

DC has a problem that should have been resolved in the upcoming release.

Ciao,
Jeroen

Any ideas/solutions/recommendations on this?

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
------------------------------------------------------------------------
|
The information contained in this communication is for the use of the
|
individual or entity to whom it is addressed, and may contain
|
information which is the subject of legal privilege and/or copyright.
|
If you have received this communication in error, please notify the
|
sender by return E-Mail and delete the transmission, together with any
|
attachments, from your system. Thank you.
|
------------------------------------------------------------------------
|

------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.
If you have received this communication in error, please notify the
sender by return E-Mail and delete the transmission, together with any
attachments, from your system. Thank you.
-------------------------------------------------------------------------

-------------------------------------------------------------------------
This 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/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
geonetwork-devel List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Kevin,

you have to look into web/geonetwork/xml/search and add a proper indexing
file to index fields that you want. The stylesheet name must be equal to the
metadata format name stored inside the Metadata table.

Cheers,
Andrea

Hi,

Has the functionality of the Lucene search changed?

I have a custom schema which I have integrated. Had to create
codelist.xml, labels.xml and extract-uuid.xsl files, and can create
metadata template and records no problem, just can't search them. So I
then tried creating records using the "Template for FDGC" and the
"Template for Dublin Core". Could create the FDGC records but again
couldn't search them. For Dublin Core couldn't even create the records
using the template.

Any ideas/solutions/recommendations on this?

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
------------------------------------------------------------------------
|
The information contained in this communication is for the use of the
|
individual or entity to whom it is addressed, and may contain
|
information which is the subject of legal privilege and/or copyright.
|
If you have received this communication in error, please notify the
|
sender by return E-Mail and delete the transmission, together with any
|
attachments, from your system. Thank you.
|
------------------------------------------------------------------------
|

------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.
If you have received this communication in error, please notify the
sender by return E-Mail and delete the transmission, together with any
attachments, from your system. Thank you.
-------------------------------------------------------------------------

Hi Jeroen,

Sure no problem.

I re-installed GN 2.1 from the download provided, using Jetty and McKoi
DB and the search still failed for FDGC records unless I provided lats
and longs. Possibly this is the same issue with the custom schema, will
keep investigating.

I can also confirm the Map Server runs fine with Jetty also.

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
------------------------------------------------------------------------
|
The information contained in this communication is for the use of the
|
individual or entity to whom it is addressed, and may contain
|
information which is the subject of legal privilege and/or copyright.
|
If you have received this communication in error, please notify the
|
sender by return E-Mail and delete the transmission, together with any
|
attachments, from your system. Thank you.
|
------------------------------------------------------------------------
|

-----Original Message-----
From: Jeroen Ticheler [mailto:Jeroen.Ticheler@anonymised.com]
Sent: Monday, 15 October 2007 19:39 PM
To: Kevin Gunn
Subject: Re: [GeoNetwork-devel] Lucene search only returning 19139
records

Hi Kevin,
I'm out of the office now. Could you send your questions to the
mailing list so others have a chance to look into it and come up with
suggestions/ fixes?
Thanks in advance.
Jeroen

On Oct 15, 2007, at 4:31 AM, Kevin Gunn wrote:

Hi Jeroen,

Yes there is a Lucene index building XSLT, and it works with GN
2.0.3. I
have been playing with the templates, and comparing it to that used
for
the 19139 schema. I'll keep working on it. Just thought maybe there
was
a new dependency for the indexing to work.

I have not altered the schema for FDGC, but I am using tomcat with an
oracle DB. I'll try a new install using Jetty and the default DB to
try
and rule out any issues there. What other details can I provide if the
search still fails for FDGC? I have turned on detailed logging but no
logs indicate issues with the search which is the default simple
search
with no text, or with relevant text provided in the 'any' field.
Privileges have been assigned appropriately, but even as admin the
search only returns 19139 records.

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
----------------------------------------------------------------------

--
|
The information contained in this communication is for the use of
the
|
individual or entity to whom it is addressed, and may
contain
|
information which is the subject of legal privilege and/or
copyright.
|
If you have received this communication in error, please notify
the
|
sender by return E-Mail and delete the transmission, together with
any
|
attachments, from your system. Thank you.
|
----------------------------------------------------------------------

--
|

-----Original Message-----
From: Jeroen Ticheler [mailto:Jeroen.Ticheler@anonymised.com]
Sent: Thursday, 11 October 2007 17:01 PM
To: Kevin Gunn
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Lucene search only returning 19139
records

Hi again,

On Oct 11, 2007, at 3:08 AM, Kevin Gunn wrote:

Hi,

Has the functionality of the Lucene search changed?

Not from a conceptual point of view. Updates to the lucene indexing
XSLTs have been made to some extent though, but these are
improvements more than substantial changes.

I have a custom schema which I have integrated. Had to create
codelist.xml, labels.xml and extract-uuid.xsl files, and can create
metadata template and records no problem, just can't search them.

Did you create the Lucene index building XSLT for the new schema?
They are located in web/geonetwork/xml/search and named after the
schema.

So I
then tried creating records using the "Template for FDGC" and the
"Template for Dublin Core". Could create the FDGC records but again
couldn't search them.

This is strange.. Not sure what to say unless you come up with more
details

For Dublin Core couldn't even create the records
using the template.

DC has a problem that should have been resolved in the upcoming
release.

Ciao,
Jeroen

Any ideas/solutions/recommendations on this?

Thanks,

Kevin Gunn
Software Engineer
Australian Institute of Marine Science
Ph: (07) 47534305
Fax: (07) 4772 5852
E-mail: k.gunn@anonymised.com
---------------------------------------------------------------------

-

--
|
The information contained in this communication is for the use of
the
|
individual or entity to whom it is addressed, and may
contain
|
information which is the subject of legal privilege and/or
copyright.
|
If you have received this communication in error, please notify
the
|
sender by return E-Mail and delete the transmission, together with
any
|
attachments, from your system. Thank you.
|
---------------------------------------------------------------------

-

--
|

---------------------------------------------------------------------

-

--
The information contained in this communication is for the use of
the
individual or entity to whom it is addressed, and may
contain
information which is the subject of legal privilege and/or
copyright.
If you have received this communication in error, please notify
the
sender by return E-Mail and delete the transmission, together with
any
attachments, from your system. Thank you.
---------------------------------------------------------------------

-

---

---------------------------------------------------------------------

-

---
This 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/
_______________________________________________
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

----------------------------------------------------------------------

--
The information contained in this communication is for the use of
the
individual or entity to whom it is addressed, and may
contain
information which is the subject of legal privilege and/or
copyright.
If you have received this communication in error, please notify
the
sender by return E-Mail and delete the transmission, together with
any
attachments, from your system. Thank you.
----------------------------------------------------------------------

---

------------------------------------------------------------------------
The information contained in this communication is for the use of the
individual or entity to whom it is addressed, and may contain
information which is the subject of legal privilege and/or copyright.
If you have received this communication in error, please notify the
sender by return E-Mail and delete the transmission, together with any
attachments, from your system. Thank you.
-------------------------------------------------------------------------

i match the two problems too ,the metedata which creatde by my custom schema
can not be
searched,but they in the database,and can be searched when i use the
"Search for Unused"
the custom schema is all right

--
View this message in context: http://www.nabble.com/Lucene-search-only-returning-19139-records-tp13147765s18419p14417169.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.