- 禁止选中:
<input οnfοcus="this.blur();" />
- autocommit设置了时间 结果到时间文档数没变化的原因
可能是opensearch没有打开
- solr的autocommit和autosoftcommit提交的问题
该配置主从同步没问题,但是不可以频繁提交,不需要手动提交
- solr增加用户名和密码
tomcat/conf/tomcat-users.xml这个路径下配置 <user username="admin" password="admin" roles="admin,manager"/>
tomcat/webapps/solr/WEB-INF/web.xml
这个路径下配置<web-resource-name>
Restrict access to Solr admin
</web-resource-name><url-pattern>/admin/*</url-pattern><http-method>DELETE< tp-method><http-method>GET< tp-method><http-method>POST< tp-method><http-method>PUT< tp-method></web-resource-collection><auth-constraint><role-name>manager</role-name></auth-constraint><user-data-constraint><transport-guarantee>NONE</transport-guarantee></user-data-constraint>< curity-constraint><login-config><auth-method>BASIC</auth-method><realm-name>default</realm-name></login-config>
Restrict access to Solr admin
</web-resource-name><url-pattern>/admin/*</url-pattern><http-method>DELETE< tp-method><http-method>GET< tp-method><http-method>POST< tp-method><http-method>PUT< tp-method></web-resource-collection><auth-constraint><role-name>manager</role-name></auth-constraint><user-data-constraint><transport-guarantee>NONE</transport-guarantee></user-data-constraint>< curity-constraint><login-config><auth-method>BASIC</auth-method><realm-name>default</realm-name></login-config>
cannot resolve method错误:
使用idea时编译出错
List<Object> qxdm2s = null;
qxdm2s = excluService.select("selectListByQxdm",params);
需要: java.util.List<java.lang.Object>
找到: <T>java.util.List<T>
解决:将List<Object>中的Object改为select本身返回的类型.