[EP-tech] Re: Xapian Search
Field A.N.
af05v at ecs.soton.ac.uk
Tue Sep 1 14:25:39 BST 2015
Have you restarted the webserver? Changes to the .pl files do not load automatically when the file changes. You'll need to reload the configuration (/<eprints_root>/bin/epadmin reload [repositoryid]) or restart apache before the changes will be visible at the front end.
--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814
On 27 Aug 2015, at 17:17, Lessard Josée wrote:
> Hello,
> I have two questions on research Xapian :
>
> 1. How query the fields : datestamp ?
>
> 2. How query the fields : creators_name (name_family with name_given ) ?
>
>
>
> We added fields (datestamp and creators_name) in the file cfg.d/eprints_search_simple.pl and reindexed the database.
> $c->{search}->{simple} =
> {
> search_fields => [
> {
> id => "q",
> meta_fields => [
> "documents",
> "eprintid",
> "title",
> "creators_name",
> "abstract",
> "datestamp",
> …
>
> Thank you for your help
>
> Josée Lessard
>
>
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/
More information about the Eprints-tech
mailing list