This is my elevate.xml.about 34 <query> nodes, and each of them about two or
three <doc> nodes.
Perhaps the bad performance because of  the small  memory?

------------------------
solrconfig.xml

...
.......
<query>

   <maxBooleanClauses>1024</maxBooleanClauses>

   <filterCache class="solr.LRUCache" size="4096" initialSize="4096"
autowarmCount="1024" />
   <queryResultCache class="solr.LRUCache" size="4096" initialSize="4096"
autowarmCount="128" />
   <documentCache class="solr.LRUCache" size="4096" initialSize="512"
autowarmCount="0" />
   <enableLazyFieldLoading>true</enableLazyFieldLoading>
   <queryResultWindowSize>20</queryResultWindowSize>
   <queryResultMaxDocsCached>200</queryResultMaxDocsCached>
   <HashDocSet maxSize="3000" loadFactor="0.75" />
..........
.....

-----------------------------
elevate.xml
<?xml version="1.0" encoding="UTF-8" ?>
<elevate>
 <query text="电信">
  <doc id="54061" />
 </query>
 <query text="移动">
  <doc id="688886" />
 </query>
 <query text="联通">
  <doc id="1077699" />
 </query>
 <query text="银行">
  <doc id="2364" />
  <doc id="15467" />
  <doc id="59121" />
  <doc id="59132" />
  <doc id="644278" />
 </query>
 <query text="化工">
  <doc id="57870" />
  <doc id="688893" />
 </query>
 <query text="石油">
  <doc id="57870" />
  <doc id="46947" />
  <doc id="59879" />
  <doc id="125776" />
 </query>
 <query text="保险">
  <doc id="670251" />
  <doc id="1225360" />
  <doc id="972626" />
  <doc id="688898" />
 </query>
  <query text="汽车">
  <doc id="506" />
  <doc id="694052" />
  <doc id="58004" />
  <doc id="263978" />
 </query>
  <query text="钢铁">
  <doc id="6329" />
  <doc id="3053" />
  <doc id="25517" />
  <doc id="57954" />
 </query>
 <query text="机械">
  <doc id="42565" />
 </query>
 <query text="通信">
  <doc id="688886" />
  <doc id="688894" />
 </query>
 <query text="船舶">
  <doc id="633475" />
 </query>
 <query text="航空">
  <doc id="58824" />
  <doc id="688901" />
  <doc id="770140" />
  <doc id="688895" />
 </query>
 <query text="铝">
  <doc id="617006" />
 </query>
 <query text="冶金">
  <doc id="688891" />
 </query>
 <query text="中信">
  <doc id="50253" />
 </query>
 <query text="精密">
  <doc id="1266888" />
 </query>
 <query text="中铁">
  <doc id="688888" />
 </query>
 <query text="建筑">
  <doc id="20107" />
 </query>
 <query text="运输">
  <doc id="612201" />
  <doc id="58823" />
 </query>
 <query text="联想">
  <doc id="41654" />
 </query>
 <query text="兵器">
  <doc id="59113" />
  <doc id="59290" />
 </query>
 <query text="电器">
  <doc id="52346" />
  <doc id="30379" />
 </query>
 <query text="物资">
  <doc id="688900" />
  <doc id="4679" />
  <doc id="1224013" />
 </query>
 <query text="集装箱">
  <doc id="88569" />
 </query>
 <query text="铁路">
  <doc id="43612" />
  <doc id="241873" />
 </query>
 <query text="电子">
  <doc id="93846" />
  <doc id="125785" />
  <doc id="600636" />
 </query>
 <query text="农垦">
  <doc id="1296" />
 </query>
 <query text="海信">
  <doc id="3305" />
 </query>
 <query text="煤炭">
  <doc id="55893" />
 </query>
 <query text="光明">
  <doc id="601888" />
 </query>
 <query text="京东方">
  <doc id="616548" />
 </query>
 <query text="华为">
  <doc id="45056" />
 </query>
 <query text="海尔">
  <doc id="3756" />
 </query>
</elevate>

2009/5/12 Yonik Seeley <yo...@lucidimagination.com>

>  On Mon, May 11, 2009 at 4:55 AM, ant <dormant.m...@gmail.com> wrote:
> > I have 10M document, 2.9GB,Not to use the elevate.xml when there is no
> > problem, adding the elevate.xml in SOLR_HOME/data , to search  the
> > configured key word , the system will be very slow, all of memory be
> > used(JVM 2GB ) soon ,and web container suspended.
>
> How many keywords and documents do you list in elevate.xml?
>
> -Yonik
> http://www.lucidimagination.com
>

Reply via email to