Re: [Dspace-tech] Advanced search problems

2007-10-16 Thread Andrea Bollini
Only for future references
On the wiki I have make a simple page for use Luke with DSpace Index:
http://wiki.dspace.org/index.php/Debug_lucene_query
Best
Andrea

Tim Donohue ha scritto:
 Shane,

 That is odd...

 Have you double-checked all your log files, to make sure you're not 
 getting any errors underneath after performing a search?   So, checking 
 the [dspace]/log/dspace.log and your Tomcat log file (e.g. 
 [tomcat]/logs/catalina.out)

 If there's nothing strange in the log files after a search, you may also 
 want to rerun your 'index-all', and check the logs after re-indexing (to 
 make sure the indexer isn't running into strange issues).

 If nothing strange is happening in your logs, the next step you could 
 take is to see what Lucene (underlying DSpace search engine) is actually 
 indexing underneath.  A good tool for this is Luke 
 (http://www.getopt.org/luke/).  You can point Luke at your 
 [dspace]/search/ directory (where the DSpace Lucene Index is), and it 
 will tell you all the documents you have indexed, and let you perform 
 some basic browsing or searches directly against Lucene.

 However, I will admit, Luke does not have the *easiest* interface to 
 understand.  You'd mostly want to look at the Documents tab, to see 
 all the documents Lucene indexed, and see if you can browse-by your 
 custom field.

 Hopefully this gives you a few more things to look at.  Let us know if 
 you figure out what is going on!

 - Tim

 Shane Beers wrote:
   
 Unfortunately (or perhaps fortunately, as I would feel pretty dumb if 
 that was the problem) that was just a typo on my own part in the email - 
 not in dspace.cfg

 I'm still at a loss...

 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 703-993-3742
 On Oct 12, 2007, at 3:23 AM, Claudia Jürgen wrote:

 
 Hi Shane,

 if this is a cut'n paste of your changes you simply got a typo there,
   
 search.index.13 = edt_disc:thesis.degree.discipline
 
 should be
 search.index.13 = etd_disc:thesis.degree.discipline

 sunny greetings

 Claudia


 Shane Beers schrieb:
   
 I am having issues with my search results when using the advanced 
 search in our archive. I have added the thesis metadata schema to 
 handle ETD documents, and these documents work great normally. I have 
 edited the dspace.cfg to add:
 search.index.13 = edt_disc:thesis.degree.discipline
 Following that, I edited the advanced.jsp in dspace-source to add 
 the appropriate element, with the following section in each of the 
 three search box areas:
 option value=etd_disc %= field1.equals(etd_disc) ? 
 selected=\selected\\ :  %fmt:message 
 key=jsp.search.advanced.type.etd_disc//option
 And then added in the appropriate element in Messages.properties, 
 rebuilt, reindexed and all that.
 The field appears correctly, but when searching for terms that I know 
 are there, I get no results. Additionally, a strange thing happens 
 when no results are found that does not happen with any other search 
 field - all 3 search boxes switch to Degree Discipline (the term I 
 used in Messages.properties). This is just something I noticed that 
 may help in a diagnosis.
 I'm not certain if I'm missing something or not, but I would really 
 like this search index to function correctly.
 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 703-993-3742
 
 -
 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/
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net 
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 




 

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


 

 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 

   


-- 
Dott. Andrea Bollini
Responsabile tecnico sviluppo e formazione applicativi JAVA
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 

Re: [Dspace-tech] Advanced search problems

2007-10-15 Thread Tim Donohue
Shane,

That is odd...

Have you double-checked all your log files, to make sure you're not 
getting any errors underneath after performing a search?   So, checking 
the [dspace]/log/dspace.log and your Tomcat log file (e.g. 
[tomcat]/logs/catalina.out)

If there's nothing strange in the log files after a search, you may also 
want to rerun your 'index-all', and check the logs after re-indexing (to 
make sure the indexer isn't running into strange issues).

If nothing strange is happening in your logs, the next step you could 
take is to see what Lucene (underlying DSpace search engine) is actually 
indexing underneath.  A good tool for this is Luke 
(http://www.getopt.org/luke/).  You can point Luke at your 
[dspace]/search/ directory (where the DSpace Lucene Index is), and it 
will tell you all the documents you have indexed, and let you perform 
some basic browsing or searches directly against Lucene.

However, I will admit, Luke does not have the *easiest* interface to 
understand.  You'd mostly want to look at the Documents tab, to see 
all the documents Lucene indexed, and see if you can browse-by your 
custom field.

Hopefully this gives you a few more things to look at.  Let us know if 
you figure out what is going on!

- Tim

Shane Beers wrote:
 Unfortunately (or perhaps fortunately, as I would feel pretty dumb if 
 that was the problem) that was just a typo on my own part in the email - 
 not in dspace.cfg
 
 I'm still at a loss...
 
 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 703-993-3742
 On Oct 12, 2007, at 3:23 AM, Claudia Jürgen wrote:
 
 Hi Shane,

 if this is a cut'n paste of your changes you simply got a typo there,
  search.index.13 = edt_disc:thesis.degree.discipline

 should be
 search.index.13 = etd_disc:thesis.degree.discipline

 sunny greetings

 Claudia


 Shane Beers schrieb:
 I am having issues with my search results when using the advanced 
 search in our archive. I have added the thesis metadata schema to 
 handle ETD documents, and these documents work great normally. I have 
 edited the dspace.cfg to add:
 search.index.13 = edt_disc:thesis.degree.discipline
 Following that, I edited the advanced.jsp in dspace-source to add 
 the appropriate element, with the following section in each of the 
 three search box areas:
 option value=etd_disc %= field1.equals(etd_disc) ? 
 selected=\selected\\ :  %fmt:message 
 key=jsp.search.advanced.type.etd_disc//option
 And then added in the appropriate element in Messages.properties, 
 rebuilt, reindexed and all that.
 The field appears correctly, but when searching for terms that I know 
 are there, I get no results. Additionally, a strange thing happens 
 when no results are found that does not happen with any other search 
 field - all 3 search boxes switch to Degree Discipline (the term I 
 used in Messages.properties). This is just something I noticed that 
 may help in a diagnosis.
 I'm not certain if I'm missing something or not, but I would really 
 like this search index to function correctly.
 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 703-993-3742
 
 -
 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/
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net 
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 
 
 
 
 -
 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/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 


Tim Donohue
Research Programmer, Illinois Digital Environment for
Access to Learning and Scholarship (IDEALS)
135 Grainger Engineering Library
University of Illinois at Urbana-Champaign

email: [EMAIL PROTECTED]
web:   http://www.ideals.uiuc.edu
phone: (217) 333-4648
fax:   (217) 244-7764



Re: [Dspace-tech] Advanced search problems

2007-10-12 Thread Claudia Jürgen
Hi Shane,

if this is a cut'n paste of your changes you simply got a typo there,
  search.index.13 = edt_disc:thesis.degree.discipline

should be
search.index.13 = etd_disc:thesis.degree.discipline

sunny greetings

Claudia


Shane Beers schrieb:
 I am having issues with my search results when using the advanced search 
 in our archive. I have added the thesis metadata schema to handle ETD 
 documents, and these documents work great normally. I have edited the 
 dspace.cfg to add:
 
 search.index.13 = edt_disc:thesis.degree.discipline
 
 Following that, I edited the advanced.jsp in dspace-source to add the 
 appropriate element, with the following section in each of the three 
 search box areas:
 
 option value=etd_disc %= field1.equals(etd_disc) ? 
 selected=\selected\\ :  %fmt:message 
 key=jsp.search.advanced.type.etd_disc//option
 
 And then added in the appropriate element in Messages.properties, 
 rebuilt, reindexed and all that.
 
 The field appears correctly, but when searching for terms that I know 
 are there, I get no results. Additionally, a strange thing happens when 
 no results are found that does not happen with any other search field - 
 all 3 search boxes switch to Degree Discipline (the term I used in 
 Messages.properties). This is just something I noticed that may help in 
 a diagnosis.
 
 I'm not certain if I'm missing something or not, but I would really like 
 this search index to function correctly.
 
 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED]
 703-993-3742
 
 
 
 
 
 
 
 -
 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/
 
 
 
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
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/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Advanced search problems

2007-10-12 Thread Shane Beers
Unfortunately (or perhaps fortunately, as I would feel pretty dumb if  
that was the problem) that was just a typo on my own part in the  
email - not in dspace.cfg


I'm still at a loss...

Shane Beers
Digital Repository Services Librarian
George Mason University
[EMAIL PROTECTED]
703-993-3742
On Oct 12, 2007, at 3:23 AM, Claudia Jürgen wrote:


Hi Shane,

if this is a cut'n paste of your changes you simply got a typo there,
 search.index.13 = edt_disc:thesis.degree.discipline

should be
search.index.13 = etd_disc:thesis.degree.discipline

sunny greetings

Claudia


Shane Beers schrieb:
I am having issues with my search results when using the advanced  
search in our archive. I have added the thesis metadata schema  
to handle ETD documents, and these documents work great normally.  
I have edited the dspace.cfg to add:

search.index.13 = edt_disc:thesis.degree.discipline
Following that, I edited the advanced.jsp in dspace-source to  
add the appropriate element, with the following section in each of  
the three search box areas:
option value=etd_disc %= field1.equals(etd_disc) ? selected= 
\selected\\ :  %fmt:message  
key=jsp.search.advanced.type.etd_disc//option
And then added in the appropriate element in Messages.properties,  
rebuilt, reindexed and all that.
The field appears correctly, but when searching for terms that I  
know are there, I get no results. Additionally, a strange thing  
happens when no results are found that does not happen with any  
other search field - all 3 search boxes switch to Degree  
Discipline (the term I used in Messages.properties). This is just  
something I noticed that may help in a diagnosis.
I'm not certain if I'm missing something or not, but I would  
really like this search index to function correctly.

Shane Beers
Digital Repository Services Librarian
George Mason University
[EMAIL PROTECTED]
703-993-3742
- 
---
- 


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

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech






-
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/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Advanced search problems

2007-10-11 Thread Shane Beers

In case it wasn't obvious, I meant to follow up:

And then added in the appropriate element in Messages.properties,  
rebuilt


with rebuilt, reindexed, etc.

No idea where that sentence went.

Thanks again.

On Oct 11, 2007, at 4:15 PM, Shane Beers wrote:

I am having issues with my search results when using the advanced  
search in our archive. I have added the thesis metadata schema to  
handle ETD documents, and these documents work great normally. I  
have edited the dspace.cfg to add:


search.index.13 = edt_disc:thesis.degree.discipline

Following that, I edited the advanced.jsp in dspace-source to add  
the appropriate element, with the following section in each of the  
three search box areas:


option value=etd_disc %= field1.equals(etd_disc) ? selected= 
\selected\\ :  %fmt:message  
key=jsp.search.advanced.type.etd_disc//option


And then added in the appropriate element in Messages.properties,  
rebuilt


The field appears correctly, but when searching for terms that I  
know are there, I get no results. Additionally, a strange thing  
happens when no results are found that does not happen with any  
other search field - all 3 search boxes switch to Degree  
Discipline (the term I used in Messages.properties). This is just  
something I noticed that may help in a diagnosis.


I'm not certain if I'm missing something or not, but I would really  
like this search index to function correctly.


Shane Beers
Digital Repository Services Librarian
George Mason University
[EMAIL PROTECTED]
703-993-3742


-
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/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech