[EP-tech] Re: simple search vs advanced search

Tim Brody tdb2 at ecs.soton.ac.uk
Tue May 8 12:22:12 BST 2012

On Fri, 2012-05-04 at 01:11 +0200, Stefano Cecere wrote:
> question: why does the simple search work with all the xapian search
>  syntax (like "exact phrase"), but the advanced search fields just with
>  the "all" or "any" words?
> any idea?

Support for Advanced search hasn't (yet) been added to the Xapian
plugin, so EPrints falls back to the internal search engine.

Xapian support will require some extra magic because you can't perform a
"join". E.g. in advanced search you can find eprints with attached
documents in "PDF" or find eprints by a given user. To support that
query in Xapian requires flattening the object structure.

Basically, it's more difficult and the simple search is still having
kinks fixed!

> it's not easy to have this different behaviour!

Agreed, although e.g. having prefixes doesn't make much sense in
Advanced searches.

> ciao
> stefano
> ____    ___   __  _ _______________________
> Stefano Cecere
> Multimedia Archive developer
> Centro Studi Umanisti KRUR - Firenze
> stefano.cecere at krur.com
> *** 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120508/081af3fd/attachment.bin 

More information about the Eprints-tech mailing list