mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
[ SEARCH-1063] Custom (test) model + Integration test for numeric prefixes in columns
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user