Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将 solr 嵌入到我现有的 Web 应用程序中,它需要索引从我的应用程序传入的数据?我需要在应用程序中使用搜索。
有没有办法在不单独托管的情况下使用 solr?
您可以将 Solrj 与EmbeddedSolrServer实现一起使用。
编辑4:
我不知道为什么,但是我在下面使用的结构不起作用。我不得不修改我在 java2s 网站上找到的一个文件,它叫做 TableFromDatabase,然后将 JTextFields 设为公共静态,然后在 FrmMovimento 等中实例化 TableFromDatabase 类:
TableFromDa