EPrints Technical Mailing List Archive

Message: #00936


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Problem with Xapian search


On Fri, 2012-08-10 at 11:35 +0100, M.D.Mcfarlane@lse.ac.uk wrote:
> Hi Tim,
> 
> Thanks for the pointer. My simple search config file had been
>  customised, when I downloaded the default 3.3 version I now get the
>  Xapian search when I go to the simple search screen
>  (http://eprints.lse.ac.uk/cgi/search/simple).

Xapian will be the default if you have it installed. If you want to
disable it you can do:

$c->{plugins}{"Search::Xapian"}{params}{disable} = 1;

(But Xapian should provide a much better search experience)

> Do I need to make any changes to the simple search button on the
>  searchbar? If I do a search from there I get the results 'by year' as
>  the default ( relevance match is an option from the drop down box). Is
>  there a way to make 'by relevance' the default option?

Change the "default_order" to "byrelevance" in your simple search
config.

/Tim.

> -----Original Message-----
> From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tim Brody
> Sent: 10 August 2012 09:06
> To: eprints-tech@ecs.soton.ac.uk
> Subject: [EP-tech] Re: Problem with Xapian search
> 
> Hi,
> 
> What's the URL that causes this and can you post your simple search configuration?
> 
> Thanks,
> Tim.
> 
> On Wed, 2012-08-08 at 17:37 +0100, M.D.Mcfarlane@lse.ac.uk wrote:
> > Hi All,
> > 
> > Hopefully have a simple problem relating to simple search and using 
> > Xapian and I've just forgotten something!
> > 
> > When I click on the simple search I get a 500 error and the apache 
> > logs
> > show:
> > 
> > Can't locate object method "get_non_filter_searchfields" via package 
> > "EPrints::Plugin::Search::Xapian" at 
> > /usr/share/eprints3/perl_lib/EPrints/Plugin/Screen/AbstractSearch.pm
> > line 736.\n
> > 
> > I've had a look with someone with far more skills than I have and we 
> > couldn't get to the bottom of this.
> > 
> > We're running 3.3.10 (upgraded from 3.3.8  them 3.3.9) on Ubuntu 10.4.
> > 
> > I'm sure it sort of worked on 3.3.9, but would be grateful for any 
> > pointers.
> > 
> > Cheers
> > 
> > Mike
> > 
> > Please access the attached hyperlink for an important electronic 
> > communications disclaimer: http://lse.ac.uk/emailDisclaimer
> > 
> > *** Options: 
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive: http://www.eprints.org/tech.php/
> > *** EPrints community wiki: http://wiki.eprints.org/
> 
> 
> Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/

Attachment: signature.asc
Description: This is a digitally signed message part