Hanlp Lucene Plugin vs Voyage AI

Side-by-side comparison of features, pricing, and ratings

Analysis reviewed Live tool data as of 2026-09-29
Cross-checked through our multi-step verification ·
Saved

At a glance

DimensionHanlp Lucene PluginVoyage AI
PricingFree (open-source plugin)Contact sales (usage-based)
Core CapabilityChinese tokenization for Solr/LuceneDomain-specific embeddings & rerankers
Target UsersSearch engineers (Java/Solr/Lucene stack)Enterprise RAG pipeline builders
DeploymentSelf-hosted offline pluginCloud API (no self-hosting mentioned)
Key FeatureCustom dictionaries, NER, three segmentation modes32K token context, low-dimensional vectors, multimodal model
IntegrationApache Solr & LuceneAny vector DB / LLM (no specific integrations listed)

Hanlp Lucene Plugin is a free, specialized tool for Chinese tokenization in Solr/Lucene search engines, ideal for teams needing offline, customizable segmentation. Voyage AI targets enterprise RAG with domain-specific embeddings, long-context, and low-dimensional vectors but requires sales contact for pricing. Choose Hanlp if you build Chinese search with Solr; choose Voyage if you need high-accuracy retrieval for complex domains like finance or legal.

Hanlp Lucene Plugin
Hanlp Lucene Plugin

Free HanLP Chinese word segmentation plugin for Apache Solr 5.x and Lucene 5.x full-text retrieval

Visit Website
Voyage AI
Voyage AI

Domain-tuned embedding models and rerankers from MongoDB for high-accuracy enterprise RAG retrieval.

Visit Website
Pricing
Free
Contact Sales
Plans
$0
—
Popularity
4 views
7.4k views
Skill Level
Intermediate
Intermediate
API Available
Platforms
Plugin
WebAPI
Categories
⚙️ Developer Infrastructure
🗄️ Vector Databases & Retrieval
Features
Chinese word segmentation with HanLP dictionary- and model-based tokenizer
Schema-driven configuration via com.hankcs.lucene.HanLPTokenizerFactory
indexMode expands long words into all contained sub-words at index time
Query analyzer mode kept off to preserve PhraseQuery behavior
Custom dictionary and configuration support through hanlp.properties
Two-JAR deployment: hanlp-portable.jar and hanlp-solr-plugin.jar
Drops into ${webapp}/WEB-INF/lib with a Solr restart
Compatible with Solr StopFilterFactory for stop word removal
Compatible with SynonymFilterFactory for index- and query-time synonyms
Works alongside Solr LowerCaseFilterFactory in the analyzer chain
Named entity recognition available through the underlying HanLP library
Part-of-speech tagging available through the underlying HanLP library
Handles ambiguous boundaries such as 商品和服务 without 和服 false positives
Offline, self-hosted operation with no external API calls
Apache Solr 5.x support, compatible with Lucene 5.x
General-purpose embedding models including voyage-3.5 and voyage-3.5 lite
Domain-specific embedding models optimized for finance, legal, and code
Company-specific fine-tuned embedding models on proprietary data
Voyage 4 model series for improved retrieval quality
voyage-multimodal-3.5 for multimodal retrieval across images and text
Low-dimensional embeddings (3x-8x shorter vectors) cut storage and search costs
32K-token context for long-document embedding
rerank-2.5 and rerank-2.5-lite with instruction following
voyage-context-3 for chunk-level detail with global document context
Batch API for large-scale embedding workloads
4x smaller model with faster inference
2x cheaper inference with superior accuracy
Modular design: plug-and-play with any vector DB and any LLM
SOC 2 and HIPAA compliance
Deployment via major clouds, SaaS customer tenants (in-VPC), and custom/on-premise
Integrations
Apache Solr
Apache Lucene

What real users say: Hanlp Lucene Plugin vs Voyage AI

Not marketing copy and not our opinion — a structured sweep of public discussion (reviews, forums, communities and video comments), showing what people praise and what they complain about for each tool.

Hanlp Lucene Plugin

8 mentions across 1 sources · 40% positive — mixed (averaged across 1 source)

GitHub

What users praise

  • • Free and open-source with no licensing costs.
  • • Integrates tightly with Lucene/Solr without code changes.
  • • Supports multiple segmentation modes including NLP with POS tagging.
  • • Custom dictionary support for domain-specific terminology.

What frustrates them

  • • Offset errors plague document ingestion from Tika.
  • • Traditional Chinese tokenization is broken out of the box.
  • • No built-in simplified-traditional conversion for search.
  • • Documentation for custom dictionary configuration is sparse.

Researched Jul 5, 2026

Voyage AI

71 mentions across 6 sources · 38% positive — critical (weighted across 6 sources)

Hacker News, YouTube, App Store, Stack Overflow, GitHub, Lemmy

What users praise

  • • Domain-specific finance, legal, and code embedders beat general-purpose models on jargon-heavy corpora
  • • 3x-8x shorter embeddings cut vector storage and search costs without obvious accuracy loss
  • • 32K-token context handles long documents that force chunking in other models
  • • Rerank-2.5's instruction following lets you steer ranking behavior in plain language

What frustrates them

  • • Default terms grant Voyage a perpetual license to train on your API data
  • • No public pricing — everything routes through a sales conversation
  • • Not the fastest at scale; a Jina model reportedly beat it in one benchmark
  • • MongoDB ownership is steering the roadmap toward Atlas-first integration

Researched Sep 29, 2026

Who should pick which

  • Search engineer building Chinese e-commerce search on Solr
    Pick: Hanlp Lucene Plugin

    Free plugin directly integrates with Solr, offers custom dictionaries for product names, and provides accurate Chinese segmentation.

  • Enterprise building a RAG pipeline for legal document retrieval
    Pick: Voyage AI

    Voyage offers domain-specific legal embedding models, 32K token context for long documents, and instruction-following rerankers for high accuracy.

  • Developer needing offline Chinese NLP for a Java application
    Pick: Hanlp Lucene Plugin

    Plugin provides tokenization and NER out-of-the-box for Lucene-based indexing, no cloud dependency.

  • Fintech startup needing multimodal search over documents and images
    Pick: Voyage AI

    Voyage-multimodal-3.5 supports multimodal retrieval, and low-dimensional embeddings reduce storage costs.

Frequently Asked Questions

Hanlp Lucene Plugin vs Voyage AI: which should you choose?

Hanlp Lucene Plugin is a free, specialized tool for Chinese tokenization in Solr/Lucene search engines, ideal for teams needing offline, customizable segmentation. Voyage AI targets enterprise RAG with domain-specific embeddings, long-context, and low-dimensional vectors but requires sales contact for pricing. Choose Hanlp if you build Chinese search with Solr; choose Voyage if you need high-accuracy retrieval for complex domains like finance or legal.

Is Hanlp Lucene Plugin compatible with Elasticsearch?

No, it is designed for Apache Solr and Lucene only. Elasticsearch would need an adapter.

Does Voyage AI offer a free trial?

No free trial is mentioned; pricing requires contacting sales.

Can Hanlp Lucene Plugin handle custom domain-specific words?

Yes, it supports custom dictionaries for domain terms.

What context length does Voyage AI support?

Up to 32K tokens for embedding models.

Does Hanlp Lucene Plugin include named entity recognition?

Yes, it recognizes entities like persons and locations.

Does Voyage AI provide multimodal embeddings?

Yes, voyage-multimodal-3.5 is a multimodal model.

Is Hanlp Lucene Plugin thread-safe?

Yes, it is designed for high-throughput, thread-safe analysis.

Can Voyage AI be used offline?

No, it is a cloud API; no self-hosted option is mentioned.

More Hanlp Lucene Plugin or Voyage AI comparisons

Explore each tool further

Browse these categories

Still deciding? Get the weekly AI tools brief

One email a week — new tools, honest comparisons, no spam.

Last reviewed: July 5, 2026