diff --git a/src/config.cc b/src/config.cc
index 20cb9505..d599725a 100644
--- a/src/config.cc
+++ b/src/config.cc
@@ -1098,10 +1098,6 @@ Class load()
if ( !fts.namedItem( "enabled" ).isNull() )
c.preferences.fts.enabled = ( fts.namedItem( "enabled" ).toElement().text() == "1" );
- if ( !fts.namedItem( "enablePosition" ).isNull() ) {
- c.preferences.fts.enablePosition = ( fts.namedItem( "enablePosition" ).toElement().text() == "1" );
- }
-
if ( !fts.namedItem( "maxDictionarySize" ).isNull() )
c.preferences.fts.maxDictionarySize = fts.namedItem( "maxDictionarySize" ).toElement().text().toUInt();
@@ -2088,10 +2084,6 @@ void save( Class const & c )
opt.appendChild( dd.createTextNode( c.preferences.fts.enabled ? "1" : "0" ) );
hd.appendChild( opt );
- opt = dd.createElement( "enablePosition" );
- opt.appendChild( dd.createTextNode( c.preferences.fts.enablePosition ? "1" : "0" ) );
- hd.appendChild( opt );
-
opt = dd.createElement( "maxDictionarySize" );
opt.appendChild( dd.createTextNode( QString::number( c.preferences.fts.maxDictionarySize ) ) );
hd.appendChild( opt );
diff --git a/src/config.hh b/src/config.hh
index 18652990..6960277e 100644
--- a/src/config.hh
+++ b/src/config.hh
@@ -196,8 +196,6 @@ struct FullTextSearch
int searchMode;
bool enabled;
- bool enablePosition = false;
-
quint32 maxDictionarySize;
quint32 parallelThreads = QThread::idealThreadCount() / 3 + 1;
QByteArray dialogGeometry;
diff --git a/src/ui/preferences.cc b/src/ui/preferences.cc
index 0af16b0f..59d0a327 100644
--- a/src/ui/preferences.cc
+++ b/src/ui/preferences.cc
@@ -351,8 +351,6 @@ Preferences::Preferences( QWidget * parent, Config::Class & cfg_ ):
ui.allowEpwing->setChecked( !p.fts.disabledTypes.contains( "EPWING", Qt::CaseInsensitive ) );
ui.allowGls->setChecked( !p.fts.disabledTypes.contains( "GLS", Qt::CaseInsensitive ) );
- ui.enablePosition->setChecked( p.fts.enablePosition );
- ui.enablePosition->hide();
#ifndef MAKE_ZIM_SUPPORT
ui.allowZim->hide();
#endif
@@ -495,7 +493,6 @@ Config::Preferences Preferences::getPreferences()
p.fts.enabled = ui.ftsGroupBox->isChecked();
p.fts.maxDictionarySize = ui.maxDictionarySize->value();
p.fts.parallelThreads = ui.parallelThreads->value();
- p.fts.enablePosition = ui.enablePosition->isChecked();
buildDisabledTypes( p.fts.disabledTypes, ui.allowAard->isChecked(), "AARD" );
buildDisabledTypes( p.fts.disabledTypes, ui.allowBGL->isChecked(), "BGL" );
diff --git a/src/ui/preferences.ui b/src/ui/preferences.ui
index 3456ea44..3a4c799d 100644
--- a/src/ui/preferences.ui
+++ b/src/ui/preferences.ui
@@ -1377,16 +1377,6 @@ download page.
- -
-
-
- Positional information is required to use Xapian's phrase searching and NEAR operator, but the database size will be much bigger. Applies only to new incoming dictionaries.
-
-
- Enable index with positional information
-
-
-
-