Skip to content

Commit 513638b

Browse files
committed
[doc] remove legacy fulltext index from listings
fixes #618
1 parent b071189 commit 513638b

File tree

10 files changed

+4
-18
lines changed

10 files changed

+4
-18
lines changed

src/main/xar-resources/collection.xconf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<collection xmlns="http://exist-db.org/collection-config/1.0">
22
<index xmlns:db5="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3-
<fulltext default="none" attributes="false"/>
43
<lucene>
54
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
65

src/main/xar-resources/data/beginners-guide-to-xrx-v4/listings/listing-6.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<collection xmlns="http://exist-db.org/collection-config/1.0">
22
<index xmlns:xs="http://www.w3.org/2001/XMLSchema">
3-
<!-- Disable the standard full text index -->
4-
<fulltext default="none" attributes="false"/>
53
<!-- Lucene index configuration -->
64
<lucene>
75
<!-- Use the standard analyzer will ignore stopwords like 'the', 'and' -->
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<modules>
22
<module id="ngram-index" class="org.exist.indexing.ngram.NGramIndex" file="ngram.dbx" n="3"/>
33
<!-- <module id="spatial-index" class="org.exist.indexing.spatial.GMLHSQLIndex" connectionTimeout="10000" flushAfter="300" /> -->
4-
<!-- The full text index is always required and should not be disabled. We still have some dependencies on this index in the database core. These will be removed once the redesign has been completed. -->
5-
<module id="ft-legacy-index" class="org.exist.fulltext.FTIndex"/>
64
</modules>

src/main/xar-resources/data/indexing/indexing.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<para> <emphasis> <link xlink:href="lucene">Full Text Indexes</link>
5454
</emphasis>: This full text indexing module features faster and customizable
5555
full text indexing by transparently integrating Lucene into the XQuery engine.
56-
Prefer this index over the Legacy Full Text Index. </para>
56+
</para>
5757
</listitem>
5858
<listitem>
5959
<para> <emphasis> <link xlink:href="ngram">NGram Indexes</link> </emphasis>:

src/main/xar-resources/data/indexing/listings/listing-4.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<collection xmlns="http://exist-db.org/collection-config/1.0">
22
<index xmlns:atom="http://www.w3.org/2005/Atom">
3-
<fulltext default="none" attributes="no">
3+
<lucene>
44
<create qname="atom:title"/>
5-
</fulltext>
5+
</lucene>
66
<range>
77
<create qname="atom:id" type="xs:string"/>
88
</range>
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<modules>
22
<module id="ngram-index" class="org.exist.indexing.ngram.NGramIndex" file="ngram.dbx" n="3"/>
3-
<!-- The full text index is always required and should not be disabled. We still have some dependencies on this index in the database core. These will be removed once the redesign has been completed. -->
4-
<module id="ft-legacy-index" class="org.exist.fulltext.FTIndex"/>
53
</modules>

src/main/xar-resources/data/lucene/listings/listing-3.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<collection xmlns="http://exist-db.org/collection-config/1.0">
22
<index xmlns:wiki="http://exist-db.org/xquery/wiki" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:atom="http://www.w3.org/2005/Atom">
3-
<!-- Disable the old full text index -->
4-
<fulltext default="none" attributes="false"/>
53
<!-- Lucene index is configured below -->
64
<lucene>
75
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>

src/main/xar-resources/data/versioning/listings/listing-1.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<collection xmlns="http://exist-db.org/collection-config/1.0">
2-
<index>
3-
<fulltext default="none" attributes="no">
4-
</fulltext>
5-
</index>
2+
<index/>
63
<triggers>
74
<trigger event="create,delete,update,copy,move" class="org.exist.versioning.VersioningTrigger">
85
<parameter name="overwrite" value="yes"/>

src/main/xar-resources/data/versioning/versioning.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
<literal>conf.xml</literal>. Add a <tag>custom-filter</tag> child tag to the
135135
<tag>serializer</tag> element and set its <literal>class</literal> attribute to
136136
<literal>org.exist.versioning.VersioningFilter</literal>:</para>
137-
<programlisting language="xml" xlink:href="listings/listing-2.xml"/>
138137
<para>eXist must be restarted for the versioning filter to become active.</para>
139138
</sect2>
140139
</sect1>

src/main/xar-resources/data/xforms/xforms.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
all you have to do is prepend an XSL processing instruction to your XForms document,
116116
pointing to the <literal>xsltforms/xsltforms.xsl</literal> stylesheet:</para>
117117

118-
<programlisting language="xml" xlink:href="listings/listing-2.xml"/>
119118
<para>Please have a look at <link condition="_blank"
120119
xlink:href="{xsltforms-demo}/modules/form.xq?form=hello.xhtml">hello.xml</link> for
121120
a very basic example using client-side transformation.</para>

0 commit comments

Comments
 (0)