1. <i id='hWBBd'><tr id='hWBBd'><dt id='hWBBd'><q id='hWBBd'><span id='hWBBd'><b id='hWBBd'><form id='hWBBd'><ins id='hWBBd'></ins><ul id='hWBBd'></ul><sub id='hWBBd'></sub></form><legend id='hWBBd'></legend><bdo id='hWBBd'><pre id='hWBBd'><center id='hWBBd'></center></pre></bdo></b><th id='hWBBd'></th></span></q></dt></tr></i><div id='hWBBd'><tfoot id='hWBBd'></tfoot><dl id='hWBBd'><fieldset id='hWBBd'></fieldset></dl></div>
    2. <small id='hWBBd'></small><noframes id='hWBBd'>

          <bdo id='hWBBd'></bdo><ul id='hWBBd'></ul>
        <legend id='hWBBd'><style id='hWBBd'><dir id='hWBBd'><q id='hWBBd'></q></dir></style></legend>
        <tfoot id='hWBBd'></tfoot>

        如何使用“like"查询 lucene操作员?

        时间:2023-09-30

      1. <tfoot id='u1xMo'></tfoot>

            <bdo id='u1xMo'></bdo><ul id='u1xMo'></ul>
          • <i id='u1xMo'><tr id='u1xMo'><dt id='u1xMo'><q id='u1xMo'><span id='u1xMo'><b id='u1xMo'><form id='u1xMo'><ins id='u1xMo'></ins><ul id='u1xMo'></ul><sub id='u1xMo'></sub></form><legend id='u1xMo'></legend><bdo id='u1xMo'><pre id='u1xMo'><center id='u1xMo'></center></pre></bdo></b><th id='u1xMo'></th></span></q></dt></tr></i><div id='u1xMo'><tfoot id='u1xMo'></tfoot><dl id='u1xMo'><fieldset id='u1xMo'></fieldset></dl></div>

          • <legend id='u1xMo'><style id='u1xMo'><dir id='u1xMo'><q id='u1xMo'></q></dir></style></legend>

                  <small id='u1xMo'></small><noframes id='u1xMo'>

                    <tbody id='u1xMo'></tbody>
                1. 本文介绍了如何使用“like"查询 lucene操作员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  通配符*只能用在词尾,如user*.

                  The wildcard * can only be used at the end of a word, like user*.

                  我想用 %user% 之类的查询,怎么做?

                  I want to query with a like %user%, how to do that?

                  推荐答案

                  Lucene提供了ReverseStringFilter 允许像 *user 一样进行前导通配符搜索.它通过以相反的顺序索引所有术语来工作.

                  Lucene provides the ReverseStringFilter that allows to do leading wildcard search like *user. It works by indexing all terms in reverse order.

                  但我认为没有办法做类似于 'LIKE %user%' 的事情.

                  But I think there is no way to do something similar to 'LIKE %user%'.

                  这篇关于如何使用“like"查询 lucene操作员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:solr 和 lucene 的区别 下一篇:如何解析/解压缩/解压缩 Nexus 生成的 Maven 存储库

                  相关文章

                  最新文章

                  • <bdo id='yvYGn'></bdo><ul id='yvYGn'></ul>

                  1. <i id='yvYGn'><tr id='yvYGn'><dt id='yvYGn'><q id='yvYGn'><span id='yvYGn'><b id='yvYGn'><form id='yvYGn'><ins id='yvYGn'></ins><ul id='yvYGn'></ul><sub id='yvYGn'></sub></form><legend id='yvYGn'></legend><bdo id='yvYGn'><pre id='yvYGn'><center id='yvYGn'></center></pre></bdo></b><th id='yvYGn'></th></span></q></dt></tr></i><div id='yvYGn'><tfoot id='yvYGn'></tfoot><dl id='yvYGn'><fieldset id='yvYGn'></fieldset></dl></div>
                    <legend id='yvYGn'><style id='yvYGn'><dir id='yvYGn'><q id='yvYGn'></q></dir></style></legend>

                    <tfoot id='yvYGn'></tfoot>

                    <small id='yvYGn'></small><noframes id='yvYGn'>