简体   繁体   中英

Solr Default Query in Admin UI does not work

I am changing the default query for the UI in solrconfig.xml but it does not change the default query in the Admin UI. It says legacy config but I don't know where else I should change it to refresh the admin UI. I have reloaded the collection and restarted Solr.

 <!-- Legacy config for the admin interface -->
  <admin>
    <defaultQuery>*:*</defaultQuery>
  </admin>

Any ideas?

您可以通过编辑webapp的/ tpl目录中的query.html文件来更改此设置。

<textarea name="q" id="q" title="The query string.">*:*</textarea>

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