예제 #1
0
 protected override void OnCreatingSchemaInfo(SchemaMetadataBuilder <IgnoredPropertyTest> builder)
 {
     builder.Property(t => t.IgnoredProperty).Ignore();
 }
예제 #2
0
 protected override void OnCreatingSchemaInfo(SchemaMetadataBuilder <PropertyNotIndexedTest> builder)
 {
     builder.Property(t => t.Text).NotIndexed();
 }
예제 #3
0
 protected override void OnCreatingSchemaInfo(SchemaMetadataBuilder <CustomWeightTest> builder)
 {
     builder.Property(t => t.TextPropertyWithCustomWeight).WithWeight(5.0);
 }
예제 #4
0
 protected override void OnCreatingSchemaInfo(SchemaMetadataBuilder <SortableNumericPropertyTest> builder)
 {
     builder.Property(t => t.SortableNumeric).AsSortable();
 }
예제 #5
0
 protected override void OnCreatingSchemaInfo(SchemaMetadataBuilder <NoStemmingTest> builder)
 {
     builder.Property(t => t.NotStemmedText).NotStemmed();
 }