---
title: "关于solr QueryElevationComponent 的问题"
author: "jackdraw"
date: "2009-11-18T09:53:56Z"
tags: []
categories: ["编程语言"]
slug: "solr-queryelevationcomponent"
draft: false
lastmod: "2009-11-18T09:53:56Z"
id: 519386
url: "https://jackdraw.iteye.com/blog/519386"
---

版本 solr 1.4  在配置关于solr QueryElevationComponent的elevate.xml配置都正确，在一台机子上可以运行，另一台机子上去不可以运行，检查发现 当id 为sint 类型 的时候，QueryElevationComponent不能工作

 

另外根据elevate.xml注释

If this file is found in the config directory, it will only be  
     loaded once at startup.  If it is found in Solr's data  
     directory, it will be re-loaded every commit.

如果把此文件放在data下面可以re-loaded,不知道如何commit,不知道那位做过，还是需要自己开发一个component