File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
Domain/Analysis/TokenFilter Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Target "BuildApp" (fun _ ->
4242 //from their interfaces
4343 //!! "build/output/Nest/Nest.xml" |> Seq.iter(fun f -> PatchXmlDoc f)
4444
45- CopyFile " build/output/Elasticsearch.Net/init .ps1" " build/elasticsearch-init.ps1"
45+ CopyFile " build/output/Elasticsearch.Net/install .ps1" " build/elasticsearch-init.ps1"
4646
4747)
4848
Original file line number Diff line number Diff line change 1+ using Newtonsoft . Json ;
2+
3+ namespace Nest
4+ {
5+ /// <summary>
6+ /// A token filter of type delimited_token_filter. Splits tokens into tokens and payload whenever a delimiter character is found.
7+ /// </summary>
8+ public class DelimitedPayloadTokenFilter : TokenFilterBase
9+ {
10+
11+ public DelimitedPayloadTokenFilter ( )
12+ : base ( "delimited_payload_filter" )
13+ { }
14+
15+ /// <summary>
16+ /// Character used for splitting the tokens. Default is '|'.
17+ /// </summary>
18+ [ JsonProperty ( "delimiter" ) ]
19+ public char ? Delimiter { get ; set ; }
20+
21+ /// <summary>
22+ /// The type of the payload. 'int' for integer, 'float' for float and 'identity' for characters. Default is 'float.'
23+ /// </summary>
24+ [ JsonProperty ( "encoding" ) ]
25+ public string Encoding { get ; set ; }
26+
27+ }
28+ }
Original file line number Diff line number Diff line change 8888 <Reference Include =" System.ServiceModel" />
8989 </ItemGroup >
9090 <ItemGroup >
91+ <Compile Include =" Domain\Analysis\TokenFilter\DelimitedPayloadTokenFilter.cs" />
9192 <Compile Include =" ConvenienceExtensions\AliasExtensions.cs" />
9293 <Compile Include =" ConvenienceExtensions\CountExtensions.cs" />
9394 <Compile Include =" ConvenienceExtensions\DeleteExtensions.cs" />
815816 <Target Name="AfterBuild">
816817 </Target>
817818 -->
818- </Project >
819+ </Project >
You can’t perform that action at this time.
0 commit comments