EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02535
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Search, for partial matches
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Search, for partial matches
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Tue, 21 Jan 2014 16:30:44 +0000
On 21/01/14 16:23, Ian Stuart wrote:
EPrints does - it may be that your dataset is not set as "indexable" which would explain why you're missing the __*index* tables - does your dataset definition contains a "index" => 1 property, as per this example:On 21/01/14 16:17, Sebastien Francois wrote:Also how stuff is searched/indexed is defined in the metafield classes (e.g. look at MetaField/Email::get_index_codes) - look what's in your foo__rindex table to see what has been indexed.Nope - of type text. how does one create an indexed field? { name => "email", type => "text", required => 1, text_index => 1 }Correct - "text_index" is not even needed since MetaField/Text.pm sets "text_index" to true by default.Hmmm.... so what creates the index table? I've restarted the web server, run ~/eprints/bin/epadmin update_database_structure broker and restarted the indexer ... but I'm not seeing postcards__rindex as a table (postcards & postcards__ordervalues_en.... but neither __rindex or __index tables user => { sqlname => "user", class => "EPrints::DataObj::User", import => 1, index => 1, datestamp => "joined", }, ?? Seb |
- References:
- [EP-tech] Search, for partial matches
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Search, for partial matches
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Search, for partial matches
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Search, for partial matches
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Search, for partial matches
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Search, for partial matches
- Prev by Date: [EP-tech] Re: Search, for partial matches
- Next by Date: [EP-tech] Batch-edit eprints via Excel Export/Import v1.0.2
- Previous by thread: [EP-tech] Re: Search, for partial matches
- Next by thread: [EP-tech] Re: Search, for partial matches
- Index(es):