kandi background
Explore Kits

elasticsearch-analysis-ik | IK Analysis plugin integrates Lucene IK analyzer | Search Engine library

 by   medcl Java Version: v8.1.2 License: Apache-2.0

 by   medcl Java Version: v8.1.2 License: Apache-2.0

Download this library from

kandi X-RAY | elasticsearch-analysis-ik Summary

elasticsearch-analysis-ik is a Java library typically used in Database, Search Engine applications. elasticsearch-analysis-ik has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.
The IK Analysis plugin integrates Lucene IK analyzer (http://code.google.com/p/ik-analyzer/) into elasticsearch, support customized dictionary. Analyzer: ik_smart , ik_max_word , Tokenizer: ik_smart , ik_max_word.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • elasticsearch-analysis-ik has a medium active ecosystem.
  • It has 13516 star(s) with 2966 fork(s). There are 609 watchers for this library.
  • There were 10 major release(s) in the last 12 months.
  • There are 323 open issues and 513 have been closed. On average issues are closed in 59 days. There are 15 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of elasticsearch-analysis-ik is v8.1.2
This Library - Support
Best in #Search Engine
Average in #Search Engine
This Library - Support
Best in #Search Engine
Average in #Search Engine

quality kandi Quality

  • elasticsearch-analysis-ik has 0 bugs and 0 code smells.
This Library - Quality
Best in #Search Engine
Average in #Search Engine
This Library - Quality
Best in #Search Engine
Average in #Search Engine

securitySecurity

  • elasticsearch-analysis-ik has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • elasticsearch-analysis-ik code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
This Library - Security
Best in #Search Engine
Average in #Search Engine
This Library - Security
Best in #Search Engine
Average in #Search Engine

license License

  • elasticsearch-analysis-ik is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
This Library - License
Best in #Search Engine
Average in #Search Engine
This Library - License
Best in #Search Engine
Average in #Search Engine

buildReuse

  • elasticsearch-analysis-ik releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions, examples and code snippets are available.
  • elasticsearch-analysis-ik saves you 1072 person hours of effort in developing the same functionality from scratch.
  • It has 2429 lines of code, 201 functions and 28 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
This Library - Reuse
Best in #Search Engine
Average in #Search Engine
This Library - Reuse
Best in #Search Engine
Average in #Search Engine
Top functions reviewed by kandi - BETA

kandi has reviewed elasticsearch-analysis-ik and discovered the below as its top functions. This is intended to give you an instant insight into elasticsearch-analysis-ik implemented functionality, and help decide if they suit your requirements.

  • Process count scan .
  • attempt to match
  • Perform unprivileged HTTP request .
  • process mix letters
  • Gets a list of words from the specified location .
  • write output to result
  • Returns next lexeme .
  • Process cross path .
  • Display lexeme type string .
  • Identify char type .

elasticsearch-analysis-ik Key Features

The IK Analysis plugin integrates Lucene IK analyzer into elasticsearch, support customized dictionary.

Install

copy iconCopydownload iconDownload
create plugin folder `cd your-es-root/plugins/ && mkdir ik`

Dictionary Configuration

copy iconCopydownload iconDownload
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
	<comment>IK Analyzer 扩展配置</comment>
	<!--用户可以在这里配置自己的扩展字典 -->
	<entry key="ext_dict">custom/mydict.dic;custom/single_word_low_freq.dic</entry>
	 <!--用户可以在这里配置自己的扩展停止词字典-->
	<entry key="ext_stopwords">custom/ext_stopword.dic</entry>
 	<!--用户可以在这里配置远程扩展字典 -->
	<entry key="remote_ext_dict">location</entry>
 	<!--用户可以在这里配置远程扩展停止词字典-->
	<entry key="remote_ext_stopwords">http://xxx.com/xxx.dic</entry>
</properties>

热更新 IK 分词使用方法

copy iconCopydownload iconDownload
 	<!--用户可以在这里配置远程扩展字典 -->
	<entry key="remote_ext_dict">location</entry>
 	<!--用户可以在这里配置远程扩展停止词字典-->
	<entry key="remote_ext_stopwords">location</entry>

Community Discussions

Trending Discussions on Search Engine
  • How do I create a search engine that find similar results in case it does not find a specific match? (mongoDB)
  • What does @z mean in Python
  • How can i make github search to not show multiple results with the same file name?
  • How to Search information within 2 or more websites
  • How can I search String value with ArrayList of String type in Java?
  • Where to place Google Search description on VUE app?
  • Google Programmable Search Engine: Search only for HTTPS websites
  • No search results for domain on google and other search engines
  • Is Reactjs SEO friendly? with google bots
  • how to make the browser know the website has a search engine
Trending Discussions on Search Engine

QUESTION

How do I create a search engine that find similar results in case it does not find a specific match? (mongoDB)

Asked 2022-Feb-25 at 01:25

I am building a question function in my website where a user can search up a question for example: "how do I cook a cake?" and get a link to the question someone else asked before of whom title is: "how do I make a cake?" the question is almost the same yet the writing is different and for now a user cant find question 2 if they search for question 1 search i just input the search bar into collection.find({}) how do I fix this? is there an API who can maybe generate similar and same meaning sentences to search for?

Thanks!

ANSWER

Answered 2022-Feb-25 at 01:25

I dont think this answer is a search engine tat you want but it is the best that mongodb can do.

Use $text

  1. createIndex
db.articles.createIndex( { subject: "text" } )
  1. data
db.articles.insertMany( [
     { _id: 1, subject: "coffee", author: "xyz", views: 50 },
     { _id: 2, subject: "Coffee Shopping", author: "efg", views: 5 },
     { _id: 3, subject: "Baking a cake", author: "abc", views: 90  },
     { _id: 4, subject: "baking", author: "xyz", views: 100 },
     { _id: 5, subject: "Café Con Leche", author: "abc", views: 200 },
     { _id: 6, subject: "Сырники", author: "jkl", views: 80 },
     { _id: 7, subject: "coffee and cream", author: "efg", views: 10 },
     { _id: 8, subject: "Cafe con Leche", author: "xyz", views: 10 }
] )
  1. query
db.articles.find( { $text: { $search: "coffee" } } )
  1. result
{ _id: 1, subject: 'coffee', author: 'xyz', views: 50 },
{ _id: 7, subject: 'coffee and cream', author: 'efg', views: 10 },
{ _id: 2, subject: 'Coffee Shopping', author: 'efg', views: 5 }

Source https://stackoverflow.com/questions/71258427

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install elasticsearch-analysis-ik

optional 1 - download pre-build package from here: https://github.com/medcl/elasticsearch-analysis-ik/releases create plugin folder `cd your-es-root/plugins/ && mkdir ik` unzip plugin to folder `your-es-root/plugins/ik`
optional 2 - use elasticsearch-plugin to install ( supported from version v5.5.1 ): ``` ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.3.0/elasticsearch-analysis-ik-6.3.0.zip ``` NOTE: replace `6.3.0` to your own elasticsearch version

Support

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Consider Popular Search Engine Libraries
Compare Search Engine Libraries with Highest Support
Compare Search Engine Libraries with Highest Security
Compare Search Engine Libraries with Highest Reuse
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.