{"id":56697,"library":"lucene-suggest","title":"Apache Lucene Suggest","description":"Apache Lucene Suggest module provides auto-suggest and spell-checking functionality for search indexes.","status":"active","version":"10.4.0","language":"java","source_language":null,"source_url":"https://gitbox.apache.org/repos/asf?p=lucene.git","tags":["lucene","suggest","search","autocomplete","spellcheck"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.lucene</groupId>\n  <artifactId>lucene-suggest</artifactId>\n  <version>10.4.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.lucene:lucene-suggest:10.4.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Lookup","correct":"org.apache.lucene.search.suggest.Lookup"}],"quickstart":{"code":"import org.apache.lucene.search.suggest.Lookup;\nimport org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester;\nimport org.apache.lucene.analysis.standard.StandardAnalyzer;\nimport org.apache.lucene.store.RAMDirectory;\n\npublic class SuggestExample {\n    public static void main(String[] args) throws Exception {\n        AnalyzingInfixSuggester suggester = new AnalyzingInfixSuggester(new RAMDirectory(), new StandardAnalyzer());\n        suggester.build(new org.apache.lucene.search.suggest.InputIterator() {\n            // implementation\n        });\n        System.out.println(\"Suggester ready\");\n    }\n}","lang":"java","description":"Creates an infix suggester for auto-completion."},"warnings":[{"fix":"Use the correct Lucene version and module dependencies; check migration guides for breaking changes.","message":"Lucene 10.x uses 'org.apache.lucene' package; older versions used 'org.apache.lucene' but with different module structure. Ensure compatibility.","severity":"breaking","affected_versions":">=10.0.0"}],"env_vars":null,"search_vec":"'apach':1,4 'auto':10 'auto-suggest':9 'autocomplet':23 'check':15 'function':16 'index':19 'lucen':2,5,20 'modul':7 'provid':8 'search':18,22 'spell':14 'spell-check':13 'spellcheck':24 'suggest':3,6,11,21","created_at":"2026-06-15T10:46:32.667421+00:00","updated_at":"2026-06-15T10:46:32.667421+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://lucene.apache.org/","github":null,"docs":"https://appdoc.app/artifact/org.apache.lucene/lucene-suggest/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}