elevate.xml 916 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. IBM Confidential
  4. OCO Source Materials
  5. IBM Business Platform: Search
  6. (C) Copyright IBM Corp. 2017, 2022
  7. The source code for this program is not published or otherwise divested of its trade secrets,
  8. irrespective of what has been deposited with the U.S. Copyright Office.
  9. -->
  10. <!-- If this file is found in the config directory, it will only be
  11. loaded once at startup. If it is found in Solr's data
  12. directory, it will be re-loaded every commit.
  13. See http://wiki.apache.org/solr/QueryElevationComponent for more info
  14. -->
  15. <elevate>
  16. <!-- Query elevation examples
  17. <query text="foo bar">
  18. <doc id="1" />
  19. <doc id="2" />
  20. <doc id="3" />
  21. </query>
  22. for use with techproducts example
  23. <query text="ipod">
  24. <doc id="MA147LL/A" /> put the actual ipod at the top
  25. <doc id="IW-02" exclude="true" /> exclude this cable
  26. </query>
  27. -->
  28. </elevate>