EPrints Technical Mailing List Archive
Message: #04640
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Antwort: Re: Xapian Search
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Antwort: Re: Xapian Search
- From: martin.braendle@id.uzh.ch
- Date: Thu, 3 Sep 2015 13:34:15 +0200
Hi Josée, Sorry, I think that I have to make my question more understandable... We have configured our search this way : $c->{search}->{simple} = { search_fields => [ { id => "q", meta_fields => [ "documents", "eprintid", "title", "creators_name", "abstract", "datestamp", … So all these fields should be indexed by Xapian We have reloaded the config (epadmin), restarted Apache and reindexed our eprints. But now we get two problems : 1. We can't search by datestamp. We tried "datestamp:2015-08-*", "datestamp:2015/08/*", "datestamp:201508*", ... Do you know what is the right syntax to do a Xapian search based in this field ? 2. We can't search by creators_name We can search by last name : creators_name:"Noyer" But we can't combine firsrt and last name : Do you know how to do such a search using both first and last name ?
-- 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:
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/ *** 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/ *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/ |
- References:
- [EP-tech] Xapian Search
- From: Lessard Josée <josee.lessard@cirad.fr>
- [EP-tech] Re: Xapian Search
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Xapian Search
- From: Lessard Josée <josee.lessard@cirad.fr>
- [EP-tech] Xapian Search
- Prev by Date: [EP-tech] Re: Xapian Search
- Next by Date: [EP-tech] Antwort: Antwort: Re: Xapian Search
- Previous by thread: [EP-tech] Re: Xapian Search
- Next by thread: [EP-tech] Antwort: Antwort: Re: Xapian Search
- Index(es):