Opened 10 years ago

Closed 9 years ago

#624 closed enhancement (fixed)

Index more fields for autocomplete suggester

Reported by: Twan Goosen Owned by: teckart@informatik.uni-leipzig.de
Priority: major Milestone: VLO-3.1
Component: VLO importer Version:
Keywords: Cc: Twan Goosen

Description

Currently only the record titles get indexed for the suggester (which is the datasource of the autocomplete functionality of the free text search in the VLO web app). It would be nice to include more fields, such as keyword, genre, subject, language, country, ... The exact choice could be discussed within the CLARIN-D VLO taskforce.

Technically the implementation is straightforward. See the following snippet from schema.xml (revision 5517):

 <fields>
   [...]
   <!-- Field for autocompletion (suggester) -->
   <field name="_suggester" type="textauto" indexed="true" stored="false"/>
   <copyField source="name" dest="_suggester"/>
</fields>

extending this should be a matter of adding more sources.

Change History (3)

comment:1 Changed 10 years ago by DefaultCC Plugin

Cc: Twan Goosen added

comment:2 Changed 9 years ago by teckart@informatik.uni-leipzig.de

Owner: set to teckart@informatik.uni-leipzig.de
Status: newassigned

comment:3 Changed 9 years ago by teckart@informatik.uni-leipzig.de

Resolution: fixed
Status: assignedclosed

Commited to trunk (r5888), the complete content of the file is now used for autocompletion, no obvious problems after some checks on a test instance

Note: See TracTickets for help on using tickets.