Antidot – Platform Training Antidot Finder Suite Reference : CORP/PLAT/TRAIN/AFS Revision 2018a
Platform Training Antidot Antidot Finder Suite 1. Introduction In this tutorial, you will discover AFS search engine and its features. 2. Prerequisites None 3. Practice Objectives : Understand fundamental concepts and master the search engine features for getting started with Antidot Finder Suite. 3.1. Exercise #1 Objective Identify information from AFS raw output. Description From http://training-dev.afs-antidot.net/search?afs:service=2&afs:feed=MARVEL_TUTO Please indicate: ServiceId: ………………… • • Number of replies per page: ………………… Total number of replies: ………………… • Total number of facets: ………………… • • Number of items and key value for the label “ Ang Lee ” of the “ Director name ” facet: Items: ………………… Key value: ………………… Deliverable Answers to the survey. CORP/PLAT/TRAIN/AFS Page 2 sur 4
Platform Training Antidot Antidot Finder Suite 3.2. Exercise #2 Objective Run AFS queries on existing search service. Description From http://training-dev.afs-antidot.net/search?afs:service=2&afs:feed=MARVEL_TUTO 1. Launch the query " xmen ". Sort the results by descending date (facet name : " release _ date ") 2. From the previous request, filter movies directed by " Bryan Singer " 3. Launch a new query : “ pouvoirs ". Cluster the results by director name with 3 replies by cluster, and add a tag " Latest " when the release date is greater than “ 2014 , January 1st ”. 4. Launch the query “ X-MEN " in strict ftsMatch mode, order the facets values by reversed alphabetical order. 5. From the same query, remove the ftsMatch mode. Filter on items which are between 2009 and 2014, with " Patrick Stewart " as an actor, and which have not been directed by " James Mangold ". 6. Search " captain america ", keep the Actor Name and Release Date facets only, display the Release Date facet before Actor Name , reorder the values of the Actor Name facet by reversed alphabetical order, and get the results in JSON. Deliverable Queries list. 3.3. Exercise #3 Objective Integrate an existing search service using AFS Widgets ( antidot-afs-widgets package) and/or AFS PHP API (https://github.com/antidot/PHP_API). Description From the following search service: http://training-dev.afs-antidot.net/search?afs:service=2&afs:feed=MARVEL_CHARACTERS JS WIDGETS Thanks to the online documentation, and using a template sample (recommended: /usr/local/afs7/share/templates/afswidgets/templates/ large-standard ): 1. Add and configure the Configuration widget for the given search service, 2. Add and configure the Loader , Facet , Context , Sort , Info , Spellcheck and Pager widgets, 3. Add and custom the Results widget. PHP Thanks to the online documentation, and using a raw template ( PHP_API/doc/data/ raw_example.php ): 1. Configure the example for the given search service, 2. Modify your own template to display facets and results of the search service, 3. Custom the results metadata display. Deliverable Screenshots of the interface(s) created. CORP/PLAT/TRAIN/AFS Page 3 sur 4
Platform Training Antidot Antidot Finder Suite 3.4. Exercise #4 Objective Run ACP queries and integrate ACP suggestions on an existing search service interface. Description A. From http://training-dev.afs-antidot.net/acp?afs:service=2&afs:feed=name 1. Launch the query " ga " on the appropriate service id, and get the generated acp file, 2. Launch the query " ga " on the appropriate service id, using the "name" feed, and get the generated acp file, 3. From the previous request, limit the number of replies to 1. B. From the previous integration page: 1. Modify the searchbox in order to display the acp, 2. Limit the acp to the " name " feed, 3. Customize the acp suggestions with css Deliverable Queries list and screenshots of the interface created. 3.5. Exercise #5 Objective Run Content Repository queries. Description From http://training-dev.afs-antidot.net query the Content Repository API as follow: Service: 2 Status: stable Feed: MARVEL _ CHARACTERS Uri: urn : afs : 1010903 Layers: INPUT , XML_1 and then JSON_1 Deliverable Queries list. www.antidot.net | info@antidot.net CORP/PLAT/TRAIN/AFS Page 4 sur 4 58 avenue Debourg – 69007 Lyon +33(0) 4 72 76 03 80
Recommend
More recommend