• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Enum LuceneVersion

Use by certain classes to match version compatibility across releases of Lucene.

WARNING: When changing the version parameter that you supply to components in Lucene, do not simply change the version at search-time, but instead also adjust your indexing code to match, and re-index.

Assembly: DistributedLucene.Net.dll
Syntax
public enum LuceneVersion : int

Fields

Name Description
LUCENE_30

Match settings and bugs in Lucene's 3.0 release.

LUCENE_31

Match settings and bugs in Lucene's 3.1 release.

LUCENE_32

Match settings and bugs in Lucene's 3.2 release.

LUCENE_33

Match settings and bugs in Lucene's 3.3 release.

LUCENE_34

Match settings and bugs in Lucene's 3.4 release.

LUCENE_35

Match settings and bugs in Lucene's 3.5 release.

LUCENE_36

Match settings and bugs in Lucene's 3.6 release.

LUCENE_40

Match settings and bugs in Lucene's 3.6 release.

LUCENE_41

Match settings and bugs in Lucene's 4.1 release.

LUCENE_42

Match settings and bugs in Lucene's 4.2 release.

LUCENE_43

Match settings and bugs in Lucene's 4.3 release.

LUCENE_44

Match settings and bugs in Lucene's 4.4 release.

LUCENE_45

Match settings and bugs in Lucene's 4.5 release.

LUCENE_46

Match settings and bugs in Lucene's 4.6 release.

LUCENE_47

Match settings and bugs in Lucene's 4.7 release.

LUCENE_48

Match settings and bugs in Lucene's 4.8 release.

Use this to get the latest & greatest settings, bug fixes, etc, for Lucene.

LUCENE_CURRENT

WARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen. If backwards compatibility is important then you should instead explicitly specify an actual version.

If you use this constant then you may need to re-index all of your documents when upgrading Lucene, as the way text is indexed may have changed. Additionally, you may need to re-test your entire application to ensure it behaves as expected, as some defaults may have changed and may break functionality in your application.

Extension Methods

LuceneVersionExtensions.OnOrAfter(LuceneVersion)
Back to top Copyright © 2017 Alachisoft