EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00359


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

[EP-tech] Re: XAPIAN Search


Tim, thanks for the explanation. Yes, "title:Term" works. So we will wait for 3.3.9 to be released.

Kind regards,
Volker

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tim Brody
Sent: Wednesday, April 04, 2012 6:09 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: XAPIAN Search

On Wed, 2012-04-04 at 14:36 +0000, Schallehn, Volker wrote:
> There have raised some questions about the XAPIAN search in EP 3.3.x:
> 
> 1) Is the XAPIAN search a substitute of the bin/indexer program?

No. The index for Xapian is built in addition via a trigger (see
lib/cfg.d/search_xapian.pl).

You can always get back the internal search by disabling the
Search::Xapian plugin (or changing it's 'q' value to 0).

> 2) Does the XAPIAN search works in the simple and also in the advanced search?

Only Simple search at the moment. The advanced search requires some
things that Xapian can't do e.g. "userid.username".

> 3) We did a complete reindex (the index has been build in
>  ../archive_id/var/xapian) and tried some queries in the simple search
>  (it's EP 3.3.8) afterwards like "creators_name:Smith" or
>  "creators:Smith". They don't work, whereas "Smith" brings the
>  appropriate results. But at http://eprints.ecs.soton.ac.uk/ a search
>  term like "creators_name:Smith" seems to work. Is there anything what
>  we have missed on our side?

If you're Xapian is active you will have a "relevance" ordering
available on the search results.

Names (as-in creators_name:Smith) may be broken in 3.3.8. I'll
double-check this for the 3.3.9 release.
If "title:Term" works then that's the problem.

All the best,
Tim.