You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by er...@apache.org on 2017/06/03 03:33:31 UTC
[1/2] lucene-solr:master: LUCENE-7705: Allow CharTokenizer-derived
tokenizers and KeywordTokenizer to configure the max token len (test fix)
Repository: lucene-solr
Updated Branches:
refs/heads/master 9efa022e0 -> 2eacf13de
LUCENE-7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token len (test fix)
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/15a8a241
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/15a8a241
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/15a8a241
Branch: refs/heads/master
Commit: 15a8a2415280d50c982fcd4fca893a3c3224da14
Parents: 393a2ed
Author: Erick <er...@apache.org>
Authored: Fri Jun 2 14:11:11 2017 -0700
Committer: Erick <er...@apache.org>
Committed: Fri Jun 2 14:11:11 2017 -0700
----------------------------------------------------------------------
.../collection1/conf/schema-tokenizer-test.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/15a8a241/solr/core/src/test-files/solr/collection1/conf/schema-tokenizer-test.xml
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema-tokenizer-test.xml b/solr/core/src/test-files/solr/collection1/conf/schema-tokenizer-test.xml
index f3d3196..af28016 100644
--- a/solr/core/src/test-files/solr/collection1/conf/schema-tokenizer-test.xml
+++ b/solr/core/src/test-files/solr/collection1/conf/schema-tokenizer-test.xml
@@ -50,7 +50,7 @@ more concise example.
<!-- Seperate analyzers for index and query time -->
- <fieldType name="letterfieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="letterfieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer type="index">
<tokenizer class="solr.LetterTokenizerFactory" maxTokenLen="3" />
</analyzer>
@@ -59,7 +59,7 @@ more concise example.
</analyzer>
</fieldType>
- <fieldType name="lowerCasefieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="lowerCasefieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer type="index">
<tokenizer class="solr.LowerCaseTokenizerFactory" maxTokenLen="3" />
</analyzer>
@@ -68,7 +68,7 @@ more concise example.
</analyzer>
</fieldType>
- <fieldType name="whiteSpfieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="whiteSpfieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory" maxTokenLen="3" />
</analyzer>
@@ -77,7 +77,7 @@ more concise example.
</analyzer>
</fieldType>
- <fieldType name="uniWhiteSpfieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="uniWhiteSpfieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer type="index">
<tokenizer class="solr.WhitespaceTokenizerFactory" maxTokenLen="3" />
</analyzer>
@@ -86,7 +86,7 @@ more concise example.
</analyzer>
</fieldType>
- <fieldType name="keywordfieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="keywordfieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer index="index">
<tokenizer class="solr.KeywordTokenizerFactory" maxTokenLen="3" />
</analyzer>
@@ -97,31 +97,31 @@ more concise example.
<!-- Same analyzers for both index and query time -->
- <fieldType name="letter0fieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="letter0fieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.LetterTokenizerFactory" maxTokenLen="3" />
</analyzer>
</fieldType>
- <fieldType name="lowerCase0fieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="lowerCase0fieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.LowerCaseTokenizerFactory" maxTokenLen="3" />
</analyzer>
</fieldType>
- <fieldType name="whiteSp0fieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="whiteSp0fieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory" maxTokenLen="3" />
</analyzer>
</fieldType>
- <fieldType name="uniWhiteSp0fieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="uniWhiteSp0fieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory" maxTokenLen="3" />
</analyzer>
</fieldType>
- <fieldType name="keyword0fieldType" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="keyword0fieldType" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory" maxTokenLen="3" />
</analyzer>
[2/2] lucene-solr:master: LUCENE-7705: Allow CharTokenizer-derived
tokenizers and KeywordTokenizer to configure the max token length,
fix test failure.
Posted by er...@apache.org.
LUCENE-7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token length, fix test failure.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2eacf13d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2eacf13d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2eacf13d
Branch: refs/heads/master
Commit: 2eacf13def4dc9fbea1de9c79150c05682b0cdec
Parents: 9efa022 15a8a24
Author: Erick <er...@apache.org>
Authored: Fri Jun 2 20:32:37 2017 -0700
Committer: Erick <er...@apache.org>
Committed: Fri Jun 2 20:32:37 2017 -0700
----------------------------------------------------------------------
.../collection1/conf/schema-tokenizer-test.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------