简体   繁体   中英

Is wild char supported in elevate.xml in Solr QueryElevationComponent?

I need to configure my solr engine is such way that I can elevate and skip some documents always, so I was referring to this document , however not sure whether this is supported or not. eg Can we specify the "text" attribute of element like following sample elevate.xml?

<elevate>

   <query text="*:*">
     <doc id="A" />
     <doc id="B" />
   </query>

   <query text="partialQueryText*">
     <doc id="A" />
     <doc id="B" exclude="true" />
   </query>

</elevate>

Any idea?

不,您不能这样做,只能使用固定查询,例如foo bar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM