Re: [Dspace-tech] Search problem in DSpace 5.2 Mirage2
Andrea: I haven't tested outside of Mirage2 XMLUI, but I will. George From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Wednesday, August 26, 2015 6:06 PM To: George Stanley Kozak ; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Search problem in DSpace 5.2 Mirage2 Hi George, On 27/08/15 04:43, George Stanley Kozak wrote: I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme. The problem was that if you did a search of a phrase (such as "Cornell University"), your search results would contain the word "Cornell" and the word "University". In effect, the search was ignoring the quotes and giving you an "OR" search instead of an "AND" search. Bram Luyten confirmed that this was happening on the demo site. I haven't heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain :( Anyway help that I can get would be great! I filed a search-related bug report a little while ago (though I could probably have picked a better title): https://jira.duraspace.org/browse/DS-2699 -- this issue currently needs a volunteer. I wouldn't be surprised if what you're seeing is caused by the same thing, basically, somewhat overzealous escaping of special characters in the search (which was introduced to fix a bug I had unfortunately snuck into DSpace 5.2, which in turn was intended to fix issues with searching for phrases containing colons). Is the behaviour you're seeing limited to Mirage 2/XMLUI? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Search problem in DSpace 5.2 Mirage2
Hi George, On 27/08/15 04:43, George Stanley Kozak wrote: I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme. The problem was that if you did a search of a phrase (such as “Cornell University”), your search results would contain the word “Cornell” and the word “University”. In effect, the search was ignoring the quotes and giving you an “OR” search instead of an “AND” search. Bram Luyten confirmed that this was happening on the demo site. I haven’t heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain L Anyway help that I can get would be great! I filed a search-related bug report a little while ago (though I could probably have picked a better title): https://jira.duraspace.org/browse/DS-2699 -- this issue currently needs a volunteer. I wouldn't be surprised if what you're seeing is caused by the same thing, basically, somewhat overzealous escaping of special characters in the search (which was introduced to fix a bug I had unfortunately snuck into DSpace 5.2, which in turn was intended to fix issues with searching for phrases containing colons). Is the behaviour you're seeing limited to Mirage 2/XMLUI? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Search problem in DSpace 5.2 Mirage2
Hi, Everyone: I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme. The problem was that if you did a search of a phrase (such as "Cornell University"), your search results would contain the word "Cornell" and the word "University". In effect, the search was ignoring the quotes and giving you an "OR" search instead of an "AND" search. Bram Luyten confirmed that this was happening on the demo site. I haven't heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain :( Anyway help that I can get would be great! George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 218 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Search problem, item is not index not apper
Hi Andrea, Tnks for your responce I Have check the permision folder of search, and it´s fine the user Dspace. I have check the log of tomcat6 - catalina.2012-06-30, and found this problem 30-jun-2012 20:56:09 org.apache.solr.core.Config getLuceneVersion ADVERTENCIA: the luceneMatchVersion is not specified, defaulting to LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.4 emulation is deprecated and will be removed in 4.0. This parameter will be mandatory in 4.0. 30-jun-2012 20:56:09 org.apache.solr.core.SolrConfig . . . ADVERTENCIA: WhitespaceTokenizerFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0 30-jun-2012 20:56:09 org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created text_ws: org.apache.solr.schema.TextField 30-jun-2012 20:56:09 org.apache.solr.util.plugin.AbstractPluginLoader load INFO: created : org.apache.solr.analysis.WhitespaceTokenizerFactory 30-jun-2012 20:56:09 org.apache.solr.analysis.BaseTokenStreamFactory assureMatchVersion ADVERTENCIA: WhitespaceTokenizerFactory is using deprecated LUCENE_24 emulation. You should at some point declare and reindex to at least 3.0, because 2.x emulation is deprecated and will be removed in 4.0 I think this is my problem I have update from 1.8 to 1.8.2 but the problem persist, any idea? I found this fix https://jira.duraspace.org/browse/DS-980 but is for 1.8 version, I traid aplly (in my 1.8.2) but said the fix is aply. Saludos Lactino CISC. -- View this message in context: http://dspace.2283337.n4.nabble.com/Search-problem-item-is-not-index-not-apper-tp4655946p4655989.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search problem, item is not index not apper
Hi Lactino, On 28/06/12 07:51, Lactino wrote: > Hi. > > I have a problem with my DSpace, version 1.8.2 installed > > 1. I add a new item, this is normally added, > 2. The item appears in the community > 3. It appears if I try to find the item by the search box. > 4. I need to make an index-update to appear in the search > > I verficado the dspace.log, when I make the approval of the item does not > appear any message, but if I use the index-update command loads all the item > to the search. This looks like a permission problem on your server. Make sure that the DSpace search directory is owned by the user that Tomcat runs as (likely either dspace or tomcat). From your error message, it looks like this directory is /dspace/search for you. Furthermore, when you run index-update, make sure you always run this as the user that Tomcat runs as. If your dspace search directory has a file called write.lock in it right now, you will need to delete this file (just this once). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Search problem, item is not index not apper
Hi. I have a problem with my DSpace, version 1.8.2 installed 1. I add a new item, this is normally added, 2. The item appears in the community 3. It appears if I try to find the item by the search box. 4. I need to make an index-update to appear in the search I verficado the dspace.log, when I make the approval of the item does not appear any message, but if I use the index-update command loads all the item to the search. But if someone is sailing or climbing on any item that you send momencho an internal error message and the task is saved in the session. 2012-06-26 21:00:02,189 INFO org.dspace.core.ConfigurationManager @ Loading from classloader: file:/dspace/config/dspace.cfg 2012-06-26 21:00:02,194 INFO org.dspace.core.ConfigurationManager @ Using dspace provided log configuration (log.init.config) 2012-06-26 21:00:02,194 INFO org.dspace.core.ConfigurationManager @ Loading: /dspace/config/log4j.properties 2012-06-26 21:00:03,483 INFO org.dspace.search.DSIndexer @ Updating and Cleaning Index 2012-06-26 21:00:03,573 INFO org.dspace.search.DSIndexer @ Writing Item: 123/20 to Index 2012-06-26 21:00:03,580 INFO org.dspace.content.MetadataField @ Loading MetadataField elements into cache. 2012-06-26 21:00:03,588 INFO org.dspace.content.MetadataSchema @ Loading schema cache for fast finds 2012-06-26 21:00:03,606 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/20 to Index 2012-06-26 21:00:03,608 INFO org.dspace.search.DSIndexer @ Writing Item: 123/21 to Index 2012-06-26 21:00:03,614 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/21 to Index 2012-06-26 21:00:03,616 INFO org.dspace.search.DSIndexer @ Writing Item: 123/22 to Index 2012-06-26 21:00:03,621 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/22 to Index 2012-06-26 21:00:03,623 INFO org.dspace.search.DSIndexer @ Writing Collection: 123/4 to Index 2012-06-26 21:00:03,624 INFO org.dspace.search.DSIndexer @ Writing Collection: 123/2 to Index 2012-06-26 21:00:03,625 INFO org.dspace.search.DSIndexer @ Writing Community: 123/1 to Index 2012-06-26 21:00:03,625 INFO org.dspace.search.DSIndexer @ Writing Community: 123/3 to Index 2012-06-26 21:00:05,052 INFO net.sf.ehcache.util.UpdateChecker @ New update(s) found: 2.4.7 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.4] 2012-06-26 21:00:33,674 ERROR org.dspace.search.DSIndexer @ Lock obtain timed out: NativeFSLock@/dspace/search/write.lock org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/dspace/search/write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:84) at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1115) at org.dspace.search.DSIndexer.openIndex(DSIndexer.java:921) at org.dspace.search.DSIndexer.optimizeIndex(DSIndexer.java:381) at org.dspace.search.DSIndexer.updateIndex(DSIndexer.java:560) at org.dspace.search.DSIndexer.main(DSIndexer.java:488) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) 2012-06-26 21:00:33,674 INFO org.dspace.search.DSIndexer @ Done with indexing 2012-06-26 21:01:03,681 ERROR org.dspace.search.DSIndexer @ org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/dspace/search/write.lock 2012-06-26 21:08:07,006 INFO org.dspace.core.ConfigurationManager @ Loading from classloader: file:/dspace/config/dspace.cfg 2012-06-26 21:08:07,010 INFO org.dspace.core.ConfigurationManager @ Using dspace provided log configuration (log.init.config) 2012-06-26 21:08:07,010 INFO org.dspace.core.ConfigurationManager @ Loading: /dspace/config/log4j.properties 2012-06-26 21:08:08,092 INFO org.dspace.search.DSIndexer @ Updating and Cleaning Index 2012-06-26 21:08:08,162 INFO org.dspace.search.DSIndexer @ Writing Item: 123/20 to Index 2012-06-26 21:08:08,169 INFO org.dspace.content.MetadataField @ Loading MetadataField elements into cache. 2012-06-26 21:08:08,177 INFO org.dspace.content.MetadataSchema @ Loading schema cache for fast finds 2012-06-26 21:08:08,193 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/20 to Index 2012-06-26 21:08:08,196 INFO org.dspace.search.DSIndexer @ Writing Item: 123/21 to Index 2012-06-26 21:08:08,202 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/21 to Index 2012-06-26 21:08:08,204 INFO org.dspace.search.DSIndexer @ Writing Item: 123/22 to Index 2012-06-26 21:08:08,209 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/22 to Index 2012-06-26 21:08:08,211 INFO org.dspace.search.DSIndexer @ Writing Item: 123/23 to Index 2012-06-26 21:08:08,216 INFO org.dspace.search.DSIndexer @ Wrote Item: 123/23 to Index 2012-06-26 21
[Dspace-tech] search problem
hi.. when i try to search any item in the repository i have no elements found. Navegating the comunities and collections i can see the items, but i can't use the search option. also, i'm using the dspace plugin for moodle 2 based on REST API, but i get this message when i try to search a file from the dspace repository i have installed: "Excepción - String could not be parsed as XML" i have dspace 1.72... any idea?? Carlos Mansilla G. U. de Los Lagos Osorno - Chile -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] search problem
Hello Hardik, Problem is not with the search, i have solve that problem but aftr that i m not able to create any new Community or Collection. -- Forwarded message -- > From: Hardik Mishra > To: abhis...@webinito.com > Date: Thu, 11 Aug 2011 07:54:38 -0400 (EDT) > Subject: [Dspace-tech] Search Problem > Hi Abhishek, > > Re-indexing should work. > > Run /[dspace]/bin/index-init to regenerate the indexes. > > Regards > Hardik Mishra > > > Message: 6 > Date: Thu, 11 Aug 2011 12:06:33 +0530 > From: Abhishek Raval > Subject: [Dspace-tech] sync problem between 2 diff instance on 2 diff > server > To: dspace-tech@lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hello > > On the single instance of Dspace there are chances of down-server > problem bcoz of the traffic. So i dont want let this happen n want to use 2 > server. The purpose of doing this is to cut-out the load on the single > server. > > So I install dspace on 2 diff system, DB of the both system is > common n "assetstore" folder is also common. It is working very well but > wen i tried to search item uploaded by system A on the system B.i m > getting no result. So i made "search" folder as a common for both the dspace > instance. Now searching is happening, but i m not able to create any new > community n collection. n getting a error. > > > > java.lang.NoClassDefFoundError: Could not initialize class > org.dspace.search.DSIndexer > org.dspace.search.SearchConsumer.end(SearchConsumer.java:207) > org.dspace.event.BasicDispatcher.dispatch(BasicDispatcher.java:171) > org.dspace.core.Context.commit(Context.java:368) > org.dspace.core.Context.complete(Context.java:333) > > org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:450) > > org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:230) > > org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) > > org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) > javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:103) > > > > can anyone guide me on this ? > > > > Thanks in advance > Abhishek Raval > Ph no.-+919601077584 > > > > -- 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-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Search Problem
Hi Abhishek, Re-indexing should work. Run /[dspace]/bin/index-init to regenerate the indexes. Regards Hardik Mishra Message: 6 Date: Thu, 11 Aug 2011 12:06:33 +0530 From: Abhishek Raval Subject: [Dspace-tech] sync problem between 2 diff instance on 2 diff server To: dspace-tech@lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hello On the single instance of Dspace there are chances of down-server problem bcoz of the traffic. So i dont want let this happen n want to use 2 server. The purpose of doing this is to cut-out the load on the single server. So I install dspace on 2 diff system, DB of the both system is common n "assetstore" folder is also common. It is working very well but wen i tried to search item uploaded by system A on the system B.i m getting no result. So i made "search" folder as a common for both the dspace instance. Now searching is happening, but i m not able to create any new community n collection. n getting a error. java.lang.NoClassDefFoundError: Could not initialize class org.dspace.search.DSIndexer org.dspace.search.SearchConsumer.end(SearchConsumer.java:207) org.dspace.event.BasicDispatcher.dispatch(BasicDispatcher.java:171) org.dspace.core.Context.commit(Context.java:368) org.dspace.core.Context.complete(Context.java:333) org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:450) org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:230) org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:103) can anyone guide me on this ? Thanks in advance Abhishek Raval Ph no.-+919601077584 -- 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-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search Problem
On Tue, Oct 09, 2007 at 01:36:07PM +0530, Surinder Kumar Gaba wrote: > java.sql.SQLException: Query "fiscal" returned unresolvable handle: > 123456789/17341 It sounds like your indices are out of sync with your database. This really shouldn't be able to happen unless you manually change the Handles in your db (updates / deletes etc should be dealt with automatically). Try running index-all and see if that helps. cheers, Jim -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL". - 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
[Dspace-tech] Search Problem
We have added around 1,40,000 records into DSpace which contains both Hindi and English language PDF file. After giving filter-media command for full text searching, the searching gives a different results. Some words are searching whereas on certain words, DSpace gives Internal Error. A listing of dspace.log as follows : 2007-10-09 12:20:24,447 INFO org.dspace.app.webui.servlet.BrowseServlet @ anonymous:session_id=4914CD68F31E870DC2F9815E351923DF:ip_addr=10.1.10.152:browse_title:results=21 2007-10-09 12:20:29,994 INFO org.dspace.search.DSQuery @ Final query string: fiscal 2007-10-09 12:20:31,883 WARN org.dspace.app.webui.servlet.DSpaceServlet @ anonymous:session_id=4914CD68F31E870DC2F9815E351923DF:ip_addr=10.1.10.152:database_error:java.sql.SQLException: Query "fiscal" returned unresolvable handle: 123456789/17341 java.sql.SQLException: Query "fiscal" returned unresolvable handle: 123456789/17341 at org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:256) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) @ There is no such handle available in the database, I checked through dspace-admin under Item entry, And also in 'handle' table. Anyone has come across such problems and solutions to it. -- Surinder Kumar Gaba Technical Director Bibliographic Informatics Division National Informatics Centre A-Block, CGO Complex, Lodhi Road New Delhi-110 003 Tel : 011-24362359 (o) : 011-27865224 (r) - 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