elevate.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- If this file is found in the config directory, it will only be
  17. loaded once at startup. If it is found in Solr's data
  18. directory, it will be re-loaded every commit.
  19. See http://wiki.apache.org/solr/QueryElevationComponent for more info
  20. -->
  21. <elevate>
  22. <query text="foo bar">
  23. <doc id="1" />
  24. <doc id="2" />
  25. <doc id="3" />
  26. </query>
  27. <query text="ipod">
  28. <doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
  29. <doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
  30. </query>
  31. </elevate>