[ SEARCH-1063] Custom (test) model + Integration test for numeric prefixes in columns

This commit is contained in:
agazzarini
2018-10-31 14:53:00 +01:00
parent 51de974171
commit 61b0ae3541
2 changed files with 4 additions and 3 deletions
@@ -70,7 +70,6 @@ public class SearchSQLWithQuotedIdentifiers extends AbstractSearchTest
file = FileModel.getRandomFileModel(FileType.TEXT_PLAIN, "Some text content.");
final CustomObjectTypeProperties attributes = new CustomObjectTypeProperties();
// attributes.addProperty(PropertyIds.NAME, file.getName());
attributes.addProperty("1:name", songName);
attributes.addProperty("1:genre", genre);
+4 -2
View File
@@ -20,7 +20,8 @@
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<tokenised>TRUE</tokenised>
<stored>true</stored>
<tokenised>BOTH</tokenised>
<facetable>false</facetable>
</index>
</property>
@@ -29,7 +30,8 @@
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<tokenised>TRUE</tokenised>
<stored>true</stored>
<tokenised>BOTH</tokenised>
<facetable>false</facetable>
</index>
</property>