The redis-search4j is a Redis-based search component. Characteristics
1. Redis-based, high performance
2. Updating indexes in real time
3. Support suggest prefix, pinyin lookup (AutoComplete function)
4. Support Single or multiple word search
5. Can sort results by field
Environment
1.JDK 1.6+
2.redis 2.2+
Dependency Packages
1.jedis-2.1.0
2.commons-pool-1.6.jar
3.ikanalyzer-3.2.8.jar
4.pinyin4j-2.5.0.jar, built-in, no need to add
Principle: Refer to Huacnlee's rails App to build high-performance real-time search using Redis: http://code.google.com/p/redis-search4j/downloads/list
Word Search
Add Redis_search_config.properties to the project root add dependent package: Jedis,commons-pool,ikanalyzer participle (used when creating index)
Project home:http://www.open-open.com/lib/view/home/1344149898421
If you know Ruby, you can use Redis-search.
If you know Java, you can look at redis-search4j
If you know PHP, you can see REDIS-FULLTEXT-SEARCH-CN
Search Components for Redis redis-search4j