[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Xapian Search



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/