12345678910111213141516171819202122232425262728293031 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!--
- This file allows you to boost certain search items to the top of search
- results. You can find out an item's ID by searching directly on the Solr
- server. The item IDs are in general constructed as follows:
- Search API:
- $document->id = $index_id . '-' . $item_id;
- Apache Solr Search Integration:
- $document->id = $site_hash . '/' . $entity_type . '/' . $entity->id;
- If you want this file to be automatically re-loaded when a Solr commit takes
- place (e.g., if you have an automatic script active which updates elevate.xml
- according to newly-indexed data), place it into Solr's data/ directory.
- Otherwise, place it with the other configuration files into the conf/
- directory.
- See http://wiki.apache.org/solr/QueryElevationComponent for more information.
- -->
- <elevate>
- <!-- Example for ranking the node #1 first in searches for "example query": -->
- <!--
- <query text="example query">
- <doc id="default_node_index-1" />
- <doc id="7v3jsc/node/1" />
- </query>
- -->
- <!-- Multiple <query> elements can be specified, contained in one <elevate>. -->
- <!-- <query text="...">...</query> -->
- </elevate>
|