Hi all,

I've kind of figured out my Spellcheck issue, although I'm still very confused. 
I had my default pipe set to "noncaching" (in webapps/xmlui/sitemap.xmap):

    <map:pipes default="noncaching"> ...

When I switch this back to "caching", Spellcheck works as expected. Why would 
Spellcheck need to depend on a caching pipeline? Any ideas?

Thanks,

Jacob

From: Brown, Jacob [mailto:[email protected]]
Sent: Thursday, April 10, 2014 11:39 AM
To: [email protected]
Subject: [Dspace-tech] Trouble with MoreLikeThis and Spellcheck in DSpace 4.1

Hi all,

I'm having trouble getting the Discovery "More Like This" and "Spellcheck" 
features working with DSpace 4.1.

Discovery is enabled in xmlui.xconf, and Spellcheck and MoreLikeThis are 
enabled and properly configured in discovery.xml. Sidebar facets and the normal 
discovery search functions are working as expected.

Whenever I type in a misspelled search term (close to a match), I just get the 
"no results" message. When I look at the Solr requests, I don't see any 
"*spellcheck*" parameters in the URL (not sure if this is relevant).

When I visit an item page that should have related items, I don't see them, and 
there is no "item-related-container" div in the DRI XML document. I know that 
the item should have "MoreLikeThis" results, because when I load DSpace in a 
jRuby console and do something like:

    item = org.dspace.handle.HandleManager.resolveToObject(context, 
'116099117/63')
    dc = org.dspace.discovery.SearchUtils.getDiscoveryConfiguration(item)
    related = 
org.dspace.discovery.SearchUtils.getSearchService().getRelatedItems(context, 
item, dc.getMoreLikeThisConfiguration())

I get `related.size == 3`.

I took a look at the Discovery sitemap.xmap and everything looks correct.

I'm very confused. Has anyone had similar issues or does anyone have any ideas 
about what could be going wrong?

Thanks,

Jacob Brown
Digital Services Librarian
[email protected]<mailto:[email protected]>
817-257-5339

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to