Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RDoc-97. Documents Highlights feature.

  • Loading branch information...
commit eb041a8420c519c700f5e4fec00fdea8ef83549d 1 parent 3782cb5
@ppekrol ppekrol authored
Showing with 190,804 additions and 184 deletions.
  1. +1 −0  version_2_5/code-samples/ClientApi/BasicOperations/SavingNewDocument.cs
  2. +97 −1 version_2_5/code-samples/ClientApi/Querying/StaticIndexes/Searching.cs
  3. +1 −0  version_2_5/code-samples/ClientApi/WorkingAsynchronously.cs
  4. +8 −8 version_2_5/code-samples/RavenCodeSamples.csproj
  5. +3 −1 version_2_5/code-samples/Samples/WebApi/CreateAspNetWebApiProject.cs
  6. +2 −2 version_2_5/code-samples/Server/Extending/Bundles/PeriodicBackups.cs
  7. +7 −7 version_2_5/code-samples/packages.config
  8. +37 −1 version_2_5/docs/client-api/querying/static-indexes/searching.markdown
  9. BIN  version_2_5/packages/Other/Raven.Client.Lightweight.dll
  10. BIN  version_2_5/packages/RavenDB.Bundles.IndexReplication.2.0.2230/RavenDB.Bundles.IndexReplication.2.0.2230.nupkg
  11. BIN  ...RavenDB.Bundles.IndexReplication.2.0.2288-Unstable/RavenDB.Bundles.IndexReplication.2.0.2288-Unstable.nupkg
  12. +3 −3 ...venDB.Bundles.IndexReplication.2.0.2288-Unstable/RavenDB.Bundles.IndexReplication.2.0.2288-Unstable.nuspec}
  13. BIN  ...230 → RavenDB.Bundles.IndexReplication.2.0.2288-Unstable}/lib/net40/Raven.Bundles.IndexReplication.dll
  14. BIN  ...230 → RavenDB.Bundles.IndexReplication.2.0.2288-Unstable}/lib/net40/Raven.Bundles.IndexReplication.pdb
  15. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/RavenDB.Client.2.0.2230.nupkg
  16. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Abstractions.dll
  17. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Abstractions.pdb
  18. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Client.Lightweight.dll
  19. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Client.Lightweight.pdb
  20. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl40/Raven.Client.Silverlight-4.dll
  21. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl40/Raven.Client.Silverlight-4.pdb
  22. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl50/Raven.Client.Silverlight.dll
  23. BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl50/Raven.Client.Silverlight.pdb
  24. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/RavenDB.Client.2.0.2288-Unstable.nupkg
  25. +2 −2 ...nDB.Client.2.0.2230.nuspec → RavenDB.Client.2.0.2288-Unstable/RavenDB.Client.2.0.2288-Unstable.nuspec}
  26. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Abstractions.dll
  27. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Abstractions.pdb
  28. +137 −4 ...packages/{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/net40/Raven.Abstractions.xml
  29. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Client.Lightweight.dll
  30. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Client.Lightweight.pdb
  31. +435 −73 ...es/{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/net40/Raven.Client.Lightweight.xml
  32. 0  .../{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/sl40/AsyncCtpLibrary_Silverlight.dll
  33. 0  .../{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/sl40/AsyncCtpLibrary_Silverlight.xml
  34. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl40/Raven.Client.Silverlight-4.dll
  35. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl40/Raven.Client.Silverlight-4.pdb
  36. 0  ...{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/sl50/AsyncCtpLibrary_Silverlight5.dll
  37. 0  ...{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/sl50/AsyncCtpLibrary_Silverlight5.xml
  38. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl50/Raven.Client.Silverlight.dll
  39. BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl50/Raven.Client.Silverlight.pdb
  40. +517 −57 ...ges/{RavenDB.Client.2.0.2230 → RavenDB.Client.2.0.2288-Unstable}/lib/sl50/Raven.Client.Silverlight.xml
  41. BIN  version_2_5/packages/RavenDB.Client.Authorization.2.0.2230/RavenDB.Client.Authorization.2.0.2230.nupkg
  42. BIN  ...ackages/RavenDB.Client.Authorization.2.0.2288-Unstable/RavenDB.Client.Authorization.2.0.2288-Unstable.nupkg
  43. +2 −2 ...rarr; RavenDB.Client.Authorization.2.0.2288-Unstable/RavenDB.Client.Authorization.2.0.2288-Unstable.nuspec}
  44. BIN  ...on.2.0.2230 → RavenDB.Client.Authorization.2.0.2288-Unstable}/lib/net40/Raven.Client.Authorization.dll
  45. BIN  ...on.2.0.2230 → RavenDB.Client.Authorization.2.0.2288-Unstable}/lib/net40/Raven.Client.Authorization.pdb
  46. BIN  version_2_5/packages/RavenDB.Client.MvcIntegration.2.0.2230/RavenDB.Client.MvcIntegration.2.0.2230.nupkg
  47. BIN  ...kages/RavenDB.Client.MvcIntegration.2.0.2288-Unstable/RavenDB.Client.MvcIntegration.2.0.2288-Unstable.nupkg
  48. +3 −3 ...rr; RavenDB.Client.MvcIntegration.2.0.2288-Unstable/RavenDB.Client.MvcIntegration.2.0.2288-Unstable.nuspec}
  49. BIN  ....2.0.2230 → RavenDB.Client.MvcIntegration.2.0.2288-Unstable}/lib/net40/Raven.Client.MvcIntegration.dll
  50. BIN  ....2.0.2230 → RavenDB.Client.MvcIntegration.2.0.2288-Unstable}/lib/net40/Raven.Client.MvcIntegration.pdb
  51. BIN  version_2_5/packages/RavenDB.Client.UniqueConstraints.2.0.2230/RavenDB.Client.UniqueConstraints.2.0.2230.nupkg
  52. BIN  version_2_5/packages/RavenDB.Client.UniqueConstraints.2.0.2230/lib/net40/Raven.Client.UniqueConstraints.pdb
  53. BIN  ...RavenDB.Client.UniqueConstraints.2.0.2288-Unstable/RavenDB.Client.UniqueConstraints.2.0.2288-Unstable.nupkg
  54. +3 −3 ...venDB.Client.UniqueConstraints.2.0.2288-Unstable/RavenDB.Client.UniqueConstraints.2.0.2288-Unstable.nuspec}
  55. BIN  ...230 → RavenDB.Client.UniqueConstraints.2.0.2288-Unstable}/lib/net40/Raven.Client.UniqueConstraints.dll
  56. BIN  ..._5/packages/RavenDB.Client.UniqueConstraints.2.0.2288-Unstable/lib/net40/Raven.Client.UniqueConstraints.pdb
  57. BIN  version_2_5/packages/RavenDB.Database.2.0.2230/lib/net40/Lucene.Net.Contrib.Spatial.NTS.dll
  58. BIN  version_2_5/packages/RavenDB.Database.2.0.2230/lib/net40/Lucene.Net.Contrib.Spatial.NTS.pdb
  59. BIN  version_2_5/packages/RavenDB.Database.2.0.2230/lib/net40/Raven.Abstractions.dll
  60. BIN  version_2_5/packages/RavenDB.Database.2.0.2230/lib/net40/Raven.Abstractions.pdb
  61. BIN  version_2_5/packages/RavenDB.Database.2.0.2230/lib/net40/Raven.Database.pdb
  62. BIN  ...Database.2.0.2230.nupkg → RavenDB.Database.2.0.2288-Unstable/RavenDB.Database.2.0.2288-Unstable.nupkg}
  63. +2 −2 ...tabase.2.0.2230.nuspec → RavenDB.Database.2.0.2288-Unstable/RavenDB.Database.2.0.2288-Unstable.nuspec}
  64. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/AWS.Extensions.dll
  65. +242 −0 version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/AWS.Extensions.xml
  66. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/AWSSDK.dll
  67. +189,147 −0 version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/AWSSDK.xml
  68. 0  .../packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Esent.Interop.dll
  69. 0  .../packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Esent.Interop.pdb
  70. 0  .../packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Esent.Interop.xml
  71. 0  ...ion_2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/GeoAPI.dll
  72. 0  ...DB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/ICSharpCode.NRefactory.CSharp.dll
  73. 0  ...DB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/ICSharpCode.NRefactory.CSharp.xml
  74. 0  .../{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/ICSharpCode.NRefactory.dll
  75. 0  .../{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/ICSharpCode.NRefactory.xml
  76. 0  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Jint.Raven.dll
  77. 0  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Jint.Raven.pdb
  78. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/Lucene.Net.Contrib.Spatial.NTS.dll
  79. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/Lucene.Net.Contrib.Spatial.NTS.pdb
  80. 0  ...B.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Lucene.Net.Contrib.Spatial.NTS.xml
  81. BIN  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Lucene.Net.dll
  82. BIN  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Lucene.Net.pdb
  83. 0  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Lucene.Net.xml
  84. 0  ...2_5/packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Mono.Cecil.dll
  85. 0  ...ckages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/NetTopologySuite.dll
  86. 0  ...ckages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/PowerCollections.dll
  87. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/Raven.Abstractions.dll
  88. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/Raven.Abstractions.pdb
  89. +137 −4 ...ages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Raven.Abstractions.xml
  90. BIN  ...packages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Raven.Database.dll
  91. BIN  version_2_5/packages/RavenDB.Database.2.0.2288-Unstable/lib/net40/Raven.Database.pdb
  92. BIN  ...ages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Spatial4n.Core.NTS.dll
  93. BIN  ...ages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Spatial4n.Core.NTS.pdb
  94. 0  ...ages/{RavenDB.Database.2.0.2230 → RavenDB.Database.2.0.2288-Unstable}/lib/net40/Spatial4n.Core.NTS.xml
  95. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2230/RavenDB.Embedded.2.0.2230.nupkg
  96. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2230/lib/net40/Raven.Client.Embedded.dll
  97. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2230/lib/net40/Raven.Client.Embedded.pdb
  98. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2288-Unstable/RavenDB.Embedded.2.0.2288-Unstable.nupkg
  99. +4 −4 ...bedded.2.0.2230.nuspec → RavenDB.Embedded.2.0.2288-Unstable/RavenDB.Embedded.2.0.2288-Unstable.nuspec}
  100. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2288-Unstable/lib/net40/Raven.Client.Embedded.dll
  101. BIN  version_2_5/packages/RavenDB.Embedded.2.0.2288-Unstable/lib/net40/Raven.Client.Embedded.pdb
  102. +8 −7 ...s/{RavenDB.Embedded.2.0.2230 → RavenDB.Embedded.2.0.2288-Unstable}/lib/net40/Raven.Client.Embedded.xml
  103. +6 −0 web.config
View
1  version_2_5/code-samples/ClientApi/BasicOperations/SavingNewDocument.cs
@@ -3,6 +3,7 @@
using Raven.Abstractions.Util;
using Raven.Client.Connection;
using Raven.Client.Connection.Async;
+using Raven.Client.Extensions;
namespace RavenCodeSamples.ClientApi.BasicOperations
{
View
98 version_2_5/code-samples/ClientApi/Querying/StaticIndexes/Searching.cs
@@ -1,4 +1,37 @@
-namespace RavenCodeSamples.ClientApi.Querying.StaticIndexes
+using System;
+using System.Linq.Expressions;
+using System.Text;
+using Raven.Client;
+using Raven.Client.Indexes;
+
+namespace Foo
+{
+ public interface IHighlights<T>
+ {
+ #region highlights_3
+ IDocumentQuery<T> Highlight(
+ string fieldName,
+ int fragmentLength,
+ int fragmentCount,
+ out FieldHighlightings highlightings);
+
+ IDocumentQuery<T> Highlight<TValue>(
+ Expression<Func<T, TValue>> propertySelector,
+ int fragmentLength,
+ int fragmentCount,
+ out FieldHighlightings highlightings);
+
+ #endregion
+
+ #region highlights_4
+ IDocumentQuery<T> SetHighlighterTags(string preTag, string postTag);
+
+ IDocumentQuery<T> SetHighlighterTags(string[] preTags, string[] postTags);
+ #endregion
+ }
+}
+
+namespace RavenCodeSamples.ClientApi.Querying.StaticIndexes
{
using System.Collections.Generic;
using System.Linq;
@@ -7,9 +40,33 @@
public class Searching : CodeSampleBase
{
+ #region highlights_1
+ public class SearchItem
+ {
+ public string Id { get; set; }
+
+ public string Text { get; set; }
+ }
+
+ public class ContentSearchIndex : AbstractIndexCreationTask<SearchItem>
+ {
+ public ContentSearchIndex()
+ {
+ Map = (docs => from doc in docs
+ select new { doc.Text });
+
+ Index(x => x.Text, FieldIndexing.Analyzed);
+ Store(x => x.Text, FieldStorage.Yes);
+ TermVector(x => x.Text, FieldTermVector.WithPositionsAndOffsets);
+ }
+ }
+ #endregion
+
#region linq_extensions_search_user_class
public class User
{
+ public string Id { get; set; }
+
public string Name { get; set; }
public byte Age { get; set; }
@@ -128,6 +185,45 @@ public Searching()
escapeQueryOptions: EscapeQueryOptions.RawQuery).ToList();
#endregion
}
+
+ using (var session = documentStore.OpenSession())
+ {
+ #region highlights_2
+ FieldHighlightings highlightings;
+
+ var results = session.Advanced.LuceneQuery<SearchItem>("ContentSearchIndex")
+ .Highlight("Text", 128, 1, out highlightings)
+ .Search("Text", "raven")
+ .ToArray();
+
+ var builder = new StringBuilder()
+ .AppendLine("<ul>");
+
+ foreach (var result in results)
+ {
+ var fragments = highlightings.GetFragments(result.Id);
+ builder.AppendLine(string.Format("<li>{0}</li>", fragments.First()));
+ }
+
+ var ul = builder
+ .AppendLine("</ul>")
+ .ToString();
+
+ #endregion
+ }
+
+ using (var session = documentStore.OpenSession())
+ {
+ #region highlights_5
+ FieldHighlightings highlightings;
+
+ var results = session.Advanced.LuceneQuery<SearchItem>("ContentSearchIndex")
+ .Highlight("Text", 128, 1, out highlightings)
+ .SetHighlighterTags("**", "**")
+ .Search("Text", "raven")
+ .ToArray();
+ #endregion
+ }
}
}
}
View
1  version_2_5/code-samples/ClientApi/WorkingAsynchronously.cs
@@ -2,6 +2,7 @@
{
using Raven.Client;
using Raven.Client.Linq;
+ using Raven.Client.Extensions;
public class WorkingAsynchronously : CodeSampleBase
{
View
16 version_2_5/code-samples/RavenCodeSamples.csproj
@@ -42,35 +42,35 @@
</Reference>
<Reference Include="Raven.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Client.2.0.2230\lib\net40\Raven.Abstractions.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Client.2.0.2288-Unstable\lib\net40\Raven.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Raven.Bundles.IndexReplication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Bundles.IndexReplication.2.0.2230\lib\net40\Raven.Bundles.IndexReplication.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Bundles.IndexReplication.2.0.2288-Unstable\lib\net40\Raven.Bundles.IndexReplication.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.Authorization, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Client.Authorization.2.0.2230\lib\net40\Raven.Client.Authorization.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Client.Authorization.2.0.2288-Unstable\lib\net40\Raven.Client.Authorization.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.Embedded, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Embedded.2.0.2230\lib\net40\Raven.Client.Embedded.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Embedded.2.0.2288-Unstable\lib\net40\Raven.Client.Embedded.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.Lightweight, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Client.2.0.2230\lib\net40\Raven.Client.Lightweight.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Client.2.0.2288-Unstable\lib\net40\Raven.Client.Lightweight.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.MvcIntegration, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Client.MvcIntegration.2.0.2230\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Client.MvcIntegration.2.0.2288-Unstable\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.UniqueConstraints, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Client.UniqueConstraints.2.0.2230\lib\net40\Raven.Client.UniqueConstraints.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Client.UniqueConstraints.2.0.2288-Unstable\lib\net40\Raven.Client.UniqueConstraints.dll</HintPath>
</Reference>
<Reference Include="Raven.Database, Version=2.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\packages\RavenDB.Database.2.0.2230\lib\net40\Raven.Database.dll</HintPath>
+ <HintPath>..\packages\RavenDB.Database.2.0.2288-Unstable\lib\net40\Raven.Database.dll</HintPath>
</Reference>
<Reference Include="Raven.Smuggler">
<HintPath>..\packages\Other\Raven.Smuggler.dll</HintPath>
View
4 version_2_5/code-samples/Samples/WebApi/CreateAspNetWebApiProject.cs
@@ -1,4 +1,6 @@
-namespace RavenCodeSamples.Samples.WebApi
+using Raven.Client.Extensions;
+
+namespace RavenCodeSamples.Samples.WebApi
{
namespace Foo
{
View
4 version_2_5/code-samples/Server/Extending/Bundles/PeriodicBackups.cs
@@ -54,8 +54,8 @@ public void Sample()
{
AwsRegionEndpoint = "eu-west-1", // if not specified default is 'us-east-1'
GlacierVaultName = "your_glacier_vault_name",
- Interval = 60, // minutes
- S3BucketName = "your_s3_bucket_name"
+ IntervalMilliseconds = 60 * 60 * 1000, // 60 minutes
+ S3BucketName = "your_s3_bucket_name",
}),
new RavenJObject());
View
14 version_2_5/code-samples/packages.config
@@ -3,17 +3,17 @@
<package id="Lucene.Net" version="3.0.3" targetFramework="net45" />
<package id="NLog" version="2.0.0.2000" targetFramework="net40" />
<package id="RavenDB.Bundles.IndexReplication" version="2.0.2160-Unstable" targetFramework="net40" />
- <package id="RavenDB.Bundles.IndexReplication" version="2.0.2230" targetFramework="net45" />
+ <package id="RavenDB.Bundles.IndexReplication" version="2.0.2288-Unstable" targetFramework="net45" />
<package id="RavenDB.Client" version="2.0.2160-Unstable" targetFramework="net40" />
- <package id="RavenDB.Client" version="2.0.2230" targetFramework="net45" />
+ <package id="RavenDB.Client" version="2.0.2288-Unstable" targetFramework="net45" />
<package id="RavenDB.Client.Authorization" version="2.0.2160-Unstable" targetFramework="net40" />
- <package id="RavenDB.Client.Authorization" version="2.0.2230" targetFramework="net45" />
- <package id="RavenDB.Client.MvcIntegration" version="2.0.2230" targetFramework="net45" />
- <package id="RavenDB.Client.UniqueConstraints" version="2.0.2230" targetFramework="net45" />
+ <package id="RavenDB.Client.Authorization" version="2.0.2288-Unstable" targetFramework="net45" />
+ <package id="RavenDB.Client.MvcIntegration" version="2.0.2288-Unstable" targetFramework="net45" />
+ <package id="RavenDB.Client.UniqueConstraints" version="2.0.2288-Unstable" targetFramework="net45" />
<package id="RavenDB.Database" version="2.0.2160-Unstable" targetFramework="net40" />
- <package id="RavenDB.Database" version="2.0.2230" targetFramework="net45" />
+ <package id="RavenDB.Database" version="2.0.2288-Unstable" targetFramework="net45" />
<package id="RavenDB.Embedded" version="2.0.2160-Unstable" targetFramework="net40" />
- <package id="RavenDB.Embedded" version="2.0.2230" targetFramework="net45" />
+ <package id="RavenDB.Embedded" version="2.0.2288-Unstable" targetFramework="net45" />
<package id="Rx-Core" version="2.0.21114" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.0.21114" targetFramework="net45" />
<package id="Rx-Linq" version="2.0.21114" targetFramework="net45" />
View
38 version_2_5/docs/client-api/querying/static-indexes/searching.markdown
@@ -111,4 +111,40 @@ The next option `EscapeQueryOptions.AllowAllWildcards` extends the previous one
The last option makes that the query will not be escaped and the raw term will be relayed to Lucene:
-{CODE linq_extensions_search_where_name_raw@ClientApi\Querying\StaticIndexes\Searching.cs /}
+{CODE linq_extensions_search_where_name_raw@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+##Highlights
+
+Another feature called `Highlights` has been added to RavenDB to enhance the search UX.
+
+###Usage
+
+Lets consider a class and index as follows:
+
+{CODE highlights_1@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+Now to use Highlights we just need to use one of the `Highlight` query extension methods. The basic usage can be as simple as:
+
+{CODE highlights_2@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+This will return the list of results and for each result we will be displaying first found fragment with the length up to 128 characters.
+
+###Customization
+
+{CODE highlights_3@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+where:
+* **fieldName** or **propertySelector** is used to mark a field/property for highlight.
+* **fragmentLength** this is the maximum length of text fragments that will be returned.
+* **fragmentCount** this is the maximum number of fragments that will be returned.
+* **highlightings** this will return an instance of a `FieldHighlightings` that contains the highlight fragments for each returned result.
+
+By default, the highlighted text is wrapped with `<b></b>` tags, to change this behavior the `SetHighlighterTags` method was introduced.
+
+{CODE highlights_4@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+Example. To wrap highlighted text with `**` we just need to execute following query:
+
+{CODE highlights_5@ClientApi\Querying\StaticIndexes\Searching.cs /}
+
+{NOTE Default `<b></b>` tags are coloured and colours are returned in following order: `yellow`, `lawngreen`, `aquamarine`, `magenta`, `palegreen`, `coral`, `wheat`, `khaki`, `lime`, `deepskyblue`, `deeppink`, `salmon`, `peachpuff`, `violet`, `mediumpurple`, `palegoldenrod`, `darkkhaki`, `springgreen`, `turquoise` and `powderblue` /}
View
BIN  version_2_5/packages/Other/Raven.Client.Lightweight.dll
Binary file not shown
View
BIN  ...n_2_5/packages/RavenDB.Bundles.IndexReplication.2.0.2230/RavenDB.Bundles.IndexReplication.2.0.2230.nupkg
Binary file not shown
View
BIN  ...enDB.Bundles.IndexReplication.2.0.2288-Unstable/RavenDB.Bundles.IndexReplication.2.0.2288-Unstable.nupkg
Binary file not shown
View
6 .../RavenDB.Bundles.IndexReplication.2.0.2230.nuspec → ...Bundles.IndexReplication.2.0.2288-Unstable.nuspec
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>RavenDB.Bundles.IndexReplication</id>
- <version>2.0.2230</version>
+ <version>2.0.2288-Unstable</version>
<title>RavenDB Index Replication Bundle</title>
<authors>Hibernating Rhinos</authors>
<owners>Hibernating Rhinos</owners>
@@ -14,7 +14,7 @@
<language>en-US</language>
<tags>nosql ravendb raven document database bundles</tags>
<dependencies>
- <dependency id="RavenDB.Database" version="[2.0.2230]" />
+ <dependency id="RavenDB.Database" version="[2.0.2288-Unstable]" />
</dependencies>
<references>
<reference file="Raven.Bundles.IndexReplication.dll" />
View
BIN  ...2230/lib/net40/Raven.Bundles.IndexReplication.dll → ...able/lib/net40/Raven.Bundles.IndexReplication.dll
Binary file not shown
View
BIN  ...2230/lib/net40/Raven.Bundles.IndexReplication.pdb → ...able/lib/net40/Raven.Bundles.IndexReplication.pdb
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/RavenDB.Client.2.0.2230.nupkg
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Abstractions.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Abstractions.pdb
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Client.Lightweight.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/net40/Raven.Client.Lightweight.pdb
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl40/Raven.Client.Silverlight-4.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl40/Raven.Client.Silverlight-4.pdb
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl50/Raven.Client.Silverlight.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2230/lib/sl50/Raven.Client.Silverlight.pdb
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/RavenDB.Client.2.0.2288-Unstable.nupkg
Binary file not shown
View
4 ...DB.Client.2.0.2230/RavenDB.Client.2.0.2230.nuspec → ...-Unstable/RavenDB.Client.2.0.2288-Unstable.nuspec
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
-<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
+<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>RavenDB.Client</id>
- <version>2.0.2230</version>
+ <version>2.0.2288-Unstable</version>
<title>RavenDB Client</title>
<authors>Hibernating Rhinos</authors>
<owners>Hibernating Rhinos</owners>
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Abstractions.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Abstractions.pdb
Binary file not shown
View
141 ....Client.2.0.2230/lib/net40/Raven.Abstractions.xml → ....0.2288-Unstable/lib/net40/Raven.Abstractions.xml
@@ -7878,6 +7878,17 @@
</returns>
<exception cref="T:System.IO.IOException">An I/O error occurs. </exception><exception cref="T:System.NotSupportedException">The stream does not support seeking. </exception><exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed. </exception><filterpriority>1</filterpriority>
</member>
+ <member name="T:Raven.Abstractions.Connection.WebRequestEventArgs">
+ <summary>
+ Event arguments for the event of creating a <see cref="T:System.Net.WebRequest"/>
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Connection.WebRequestEventArgs.Request">
+ <summary>
+ Gets or sets the web request.
+ </summary>
+ <value>The request.</value>
+ </member>
<member name="T:Raven.Abstractions.Connection.WebResponseExtensions">
<summary>
Extensions for web requests
@@ -7890,6 +7901,42 @@
<param name="response">The response.</param>
<returns></returns>
</member>
+ <member name="T:Raven.Abstractions.Data.HighlightedField">
+ <summary>
+ Represent a field highlight options
+ </summary>
+ </member>
+ <member name="M:Raven.Abstractions.Data.HighlightedField.TryParse(System.String,Raven.Abstractions.Data.HighlightedField@)">
+ <summary>
+ Converts the string representation of a field highlighting options to the <see cref="T:Raven.Abstractions.Data.HighlightedField"/> class.
+ </summary>
+ <param name="value">
+ Field highlighting options
+ <example>Text:250,3,TextFragments</example>
+ </param>
+ <param name="result"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.Field">
+ <summary>
+ Gets or sets the field.
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentLength">
+ <summary>
+ Gets or sets the fragment length.
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentCount">
+ <summary>
+ Gets or sets a value indicating how many highlight fragments should be created for the field
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentsField">
+ <summary>
+ Gets or sets the field in query result item for highlighting fragments
+ </summary>
+ </member>
<member name="T:Raven.Abstractions.Data.ScriptedPatchRequest">
<summary>
A Advanced patch request for a specified document (using JavaScript)
@@ -8522,6 +8569,21 @@
Whatever we should get the raw index queries
</summary>
</member>
+ <member name="P:Raven.Abstractions.Data.IndexQuery.HighlightedFields">
+ <summary>
+ Gets or sets the options to highlight the fields
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.IndexQuery.HighlighterPreTags">
+ <summary>
+ Gets or sets the highlighter pre tags
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.IndexQuery.HighlighterPostTags">
+ <summary>
+ Gets or sets the highlighter post tags
+ </summary>
+ </member>
<member name="M:Raven.Abstractions.Data.SpatialIndexQuery.#ctor(Raven.Abstractions.Data.IndexQuery)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Abstractions.Data.SpatialIndexQuery"/> class.
@@ -8544,14 +8606,14 @@
String distance algorithms used in suggestion query
</summary>
</member>
- <member name="F:Raven.Abstractions.Data.StringDistanceTypes.Default">
+ <member name="F:Raven.Abstractions.Data.StringDistanceTypes.None">
<summary>
- Default, equivalent to Levenshtein
+ Default, suggestion is not active
</summary>
</member>
- <member name="F:Raven.Abstractions.Data.StringDistanceTypes.JaroWinkler">
+ <member name="F:Raven.Abstractions.Data.StringDistanceTypes.Default">
<summary>
- JaroWinkler distance algorithm
+ Default, equivalent to Levenshtein
</summary>
</member>
<member name="F:Raven.Abstractions.Data.StringDistanceTypes.Levenshtein">
@@ -8559,6 +8621,11 @@
Levenshtein distance algorithm (default)
</summary>
</member>
+ <member name="F:Raven.Abstractions.Data.StringDistanceTypes.JaroWinkler">
+ <summary>
+ JaroWinkler distance algorithm
+ </summary>
+ </member>
<member name="F:Raven.Abstractions.Data.StringDistanceTypes.NGram">
<summary>
NGram distance algorithm
@@ -8758,11 +8825,54 @@
'r' format is used on the in metadata, because it's delivered as http header.
</remarks>
</member>
+ <member name="T:Raven.Abstractions.Indexing.FieldTermVector">
+ <summary>
+ Specifies whether to include term vectors for a field
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.No">
+ <summary>
+ Do not store term vectors
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.Yes">
+ <summary>
+ Store the term vectors of each document. A term vector is a list of the document's
+ terms and their number of occurrences in that document.
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithPositions">
+ <summary>
+ Store the term vector + token position information
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithOffsets">
+ <summary>
+ Store the term vector + Token offset information
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithPositionsAndOffsets">
+ <summary>
+ Store the term vector + Token position and offset information
+ </summary>
+ </member>
<member name="F:Raven.Abstractions.Indexing.SpatialRelation.Nearby">
<summary>
Does not filter the query, merely sort by the distance
</summary>
</member>
+ <member name="P:Raven.Abstractions.Indexing.SuggestionOptions.Distance">
+ <summary>
+ Gets or sets the string distance algorithm.
+ </summary>
+ <value>The distance. The default value is StringDistanceTypes.Levenshtein.</value>
+ </member>
+ <member name="P:Raven.Abstractions.Indexing.SuggestionOptions.Accuracy">
+ <summary>
+ Gets or sets the accuracy.
+ </summary>
+ <value>The accuracy. The default value is 0.5f.</value>
+ </member>
<member name="M:Raven.Json.Linq.Extensions.Value``1(System.Collections.Generic.IEnumerable{Raven.Json.Linq.RavenJToken})">
<summary>
Converts the value.
@@ -9542,6 +9652,12 @@
</summary>
<param name="value">The value.</param>
</member>
+ <member name="M:Raven.Json.Linq.RavenJValue.#ctor(System.Single)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Raven.Json.Linq.RavenJValue"/> class with the given value.
+ </summary>
+ <param name="value">The value.</param>
+ </member>
<member name="M:Raven.Json.Linq.RavenJValue.#ctor(System.DateTime)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Json.Linq.RavenJValue"/> class with the given value.
@@ -9971,6 +10087,18 @@
The fields that are queryable in the index
</summary>
</member>
+ <member name="P:Raven.Abstractions.Indexing.IndexDefinition.Suggestions">
+ <summary>
+ Gets or sets the suggest options
+ </summary>
+ <value>The suggest options.</value>
+ </member>
+ <member name="P:Raven.Abstractions.Indexing.IndexDefinition.TermVectors">
+ <summary>
+ Gets or sets the term vectors options
+ </summary>
+ <value>The term vectors.</value>
+ </member>
<member name="T:Raven.Abstractions.Indexing.NumberUtil">
<summary>
Helper function for numeric to indexed string and vice versa
@@ -10388,6 +10516,11 @@
what document were deleted, etc.
</summary>
</member>
+ <member name="P:Raven.Abstractions.Data.QueryResult.Highlightings">
+ <summary>
+ Gets or sets highlighter results
+ </summary>
+ </member>
<member name="P:Raven.Abstractions.Data.QueryResult.NonAuthoritativeInformation">
<summary>
Gets or sets a value indicating whether any of the documents returned by this query
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Client.Lightweight.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/net40/Raven.Client.Lightweight.pdb
Binary file not shown
View
508 ...t.2.0.2230/lib/net40/Raven.Client.Lightweight.xml → ...8-Unstable/lib/net40/Raven.Client.Lightweight.xml
@@ -138,7 +138,7 @@
with the specified database
</summary>
</member>
- <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.ForDefaultDatabase">
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.ForSystemDatabase">
<summary>
Create a new instance of <see cref="T:Raven.Client.Connection.Async.IAsyncDatabaseCommands"/> that will interacts
with the default database
@@ -219,10 +219,15 @@
<param name="patch">The patch request to use (using JavaScript)</param>
<param name="allowStale">if set to <c>true</c> [allow stale].</param>
</member>
- <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetLogsAsync(System.Boolean)">
<summary>
@@ -274,6 +279,13 @@
Force the database commands to read directly from the master, unless there has been a failover.
</summary>
</member>
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.HeadAsync(System.String)">
+ <summary>
+ Retrieves the document metadata for the specified document key.
+ </summary>
+ <param name="key">The key.</param>
+ <returns>The document metadata for the specified document, or null if the document does not exist</returns>
+ </member>
<member name="P:Raven.Client.Connection.Async.IAsyncDatabaseCommands.OperationsHeaders">
<summary>
Gets the operations headers.
@@ -366,7 +378,7 @@
with the specified database
</summary>
</member>
- <member name="M:Raven.Client.Connection.Async.AsyncServerClient.ForDefaultDatabase">
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.ForSystemDatabase">
<summary>
Create a new instance of <see cref="T:Raven.Client.Connection.IDatabaseCommands"/> that will interact
with the root database. Useful if the database has works against a tenant database.
@@ -392,10 +404,15 @@
This is primarily useful for administration of a database
</remarks>
</member>
- <member name="M:Raven.Client.Connection.Async.AsyncServerClient.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.Async.AsyncServerClient.MultiGetAsync(Raven.Abstractions.Data.GetRequest[])">
<summary>
@@ -485,6 +502,11 @@
Force the database commands to read directly from the master, unless there has been a failover.
</summary>
</member>
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.DirectHeadAsync(System.String,System.String)">
+ <summary>
+ Do a direct HEAD request against the server for the specified document
+ </summary>
+ </member>
<member name="P:Raven.Client.Connection.Async.AsyncServerClient.OperationsHeaders">
<summary>
Gets or sets the operations headers.
@@ -932,7 +954,7 @@
with the specified database
</summary>
</member>
- <member name="M:Raven.Client.Connection.IDatabaseCommands.ForDefaultDatabase">
+ <member name="M:Raven.Client.Connection.IDatabaseCommands.ForSystemDatabase">
<summary>
Create a new instance of <see cref="T:Raven.Client.Connection.IDatabaseCommands"/> that will interacts
with the default database
@@ -960,10 +982,15 @@
</summary>
<returns></returns>
</member>
- <member name="M:Raven.Client.Connection.IDatabaseCommands.GetFacets(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.IDatabaseCommands.GetFacets(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.IDatabaseCommands.Patch(System.String,Raven.Abstractions.Data.PatchRequest[])">
<summary>
@@ -1061,6 +1088,11 @@
The last term that we asked the query to use equals on
</summary>
</member>
+ <member name="M:Raven.Client.Connection.IRavenQueryInspector.GetIndexQuery(System.Boolean)">
+ <summary>
+ Get the index query for this query
+ </summary>
+ </member>
<member name="P:Raven.Client.Connection.IRavenQueryInspector.IndexQueried">
<summary>
Get the name of the index being queried
@@ -1234,6 +1266,11 @@
The result of this request
</summary>
</member>
+ <member name="P:Raven.Client.Connection.Profiling.RequestResultArgs.TotalSize">
+ <summary>
+ Total amount of memory used by strings here
+ </summary>
+ </member>
<member name="T:Raven.Client.Connection.Profiling.ProfilingInformation">
<summary>
Information about a particular session
@@ -1768,14 +1805,15 @@
</summary>
<returns></returns>
</member>
- <member name="M:Raven.Client.Connection.ServerClient.GetFacets(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.ServerClient.GetFacets(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
- <param name="index"></param>
- <param name="query"></param>
- <param name="facetSetupDoc"></param>
- <returns></returns>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.ServerClient.Patch(System.String,Raven.Abstractions.Data.PatchRequest[])">
<summary>
@@ -1858,17 +1896,6 @@
The profiling information
</summary>
</member>
- <member name="T:Raven.Client.Connection.WebRequestEventArgs">
- <summary>
- Event arguments for the event of creating a <see cref="T:System.Net.WebRequest"/>
- </summary>
- </member>
- <member name="P:Raven.Client.Connection.WebRequestEventArgs.Request">
- <summary>
- Gets or sets the web request.
- </summary>
- <value>The request.</value>
- </member>
<member name="T:Raven.Client.Converters.GuidConverter">
<summary>
Convert strings from / to guids
@@ -2161,6 +2188,46 @@
Execute the transformation function on the results of this query.
</summary>
</member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.Highlight(System.String,System.Int32,System.Int32,System.String)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsField">The field in query results item to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.Highlight(System.String,System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="highlightings">Field highlightings for all results.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.SetHighlighterTags(System.String,System.String)">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTag">Prefix tag.</param>
+ <param name="postTag">Postfix tag.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.SetHighlighterTags(System.String[],System.String[])">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTags">Prefix tags.</param>
+ <param name="postTags">Postfix tags.</param>
+ </member>
<member name="T:Raven.Client.Document.IAbstractDocumentQuery`1">
<summary>
Mostly used by the linq provider
@@ -2397,6 +2464,46 @@
</summary>
<param name = "fields">The fields.</param>
</member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.Highlight(System.String,System.Int32,System.Int32,System.String)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsField">The field in query results item to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.Highlight(System.String,System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="highlightings">Field highlightings for all results.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.SetHighlighterTags(System.String,System.String)">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTag">Prefix tag.</param>
+ <param name="postTag">Postfix tag.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.SetHighlighterTags(System.String[],System.String[])">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTags">Prefix tags.</param>
+ <param name="postTags">Postfix tags.</param>
+ </member>
<member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.WaitForNonStaleResultsAsOfNow">
<summary>
Instructs the query to wait for non stale results as of now.
@@ -2509,6 +2616,21 @@
The fields to order the results by
</summary>
</member>
+ <member name="F:Raven.Client.Document.AbstractDocumentQuery`2.highlightedFields">
+ <summary>
+ The fields to highlight
+ </summary>
+ </member>
+ <member name="F:Raven.Client.Document.AbstractDocumentQuery`2.highlighterPreTags">
+ <summary>
+ Highlighter pre tags
+ </summary>
+ </member>
+ <member name="F:Raven.Client.Document.AbstractDocumentQuery`2.highlighterPostTags">
+ <summary>
+ Highlighter post tags
+ </summary>
+ </member>
<member name="F:Raven.Client.Document.AbstractDocumentQuery`2.sortByHints">
<summary>
The types to sort the fields by (NULL if not specified)
@@ -2559,12 +2681,17 @@
Holds the query stats
</summary>
</member>
- <member name="M:Raven.Client.Document.AbstractDocumentQuery`2.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="F:Raven.Client.Document.AbstractDocumentQuery`2.highlightings">
+ <summary>
+ Holds the query highlightings
+ </summary>
+ </member>
+ <member name="M:Raven.Client.Document.AbstractDocumentQuery`2.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.DocumentQuery`1"/> class.
</summary>
</member>
- <member name="M:Raven.Client.Document.AbstractDocumentQuery`2.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="M:Raven.Client.Document.AbstractDocumentQuery`2.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.AbstractDocumentQuery`2"/> class.
</summary>
@@ -3442,6 +3569,70 @@
</summary>
<param name = "propertySelectors">Property selectors for the fields.</param>
</member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.Highlight(System.String,System.Int32,System.Int32,System.String)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsField">The field in query results item to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.Highlight(System.String,System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.Highlight``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Int32,System.Int32,System.Linq.Expressions.Expression{System.Func{`0,System.Collections.IEnumerable}})">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="propertySelector">The property to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsPropertySelector">The property to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.Highlight``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="propertySelector">The property to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.SetHighlighterTags(System.String,System.String)">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTag">Prefix tag.</param>
+ <param name="postTag">Postfix tag.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryBase`2.SetHighlighterTags(System.String[],System.String[])">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTags">Prefix tags.</param>
+ <param name="postTags">Postfix tags.</param>
+ </member>
<member name="M:Raven.Client.IDocumentQueryBase`2.WaitForNonStaleResultsAsOfNow">
<summary>
Instructs the query to wait for non stale results as of now.
@@ -3650,6 +3841,11 @@
</summary>
<value>The query result.</value>
</member>
+ <member name="M:Raven.Client.IAsyncDocumentQuery`1.GetIndexQuery(System.Boolean)">
+ <summary>
+ Create the index query object for this query
+ </summary>
+ </member>
<member name="P:Raven.Client.IAsyncDocumentQuery`1.QueryResultAsync">
<summary>
Gets the query result
@@ -3657,7 +3853,7 @@
</summary>
<value>The query result.</value>
</member>
- <member name="M:Raven.Client.Document.AsyncDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="M:Raven.Client.Document.AsyncDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.AsyncDocumentQuery`1"/> class.
</summary>
@@ -4135,7 +4331,7 @@
Negate the next operation
</summary>
</member>
- <member name="M:Raven.Client.Document.AsyncShardedDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,System.Func{Raven.Client.Shard.ShardRequestData,System.Collections.Generic.IList{System.Tuple{System.String,Raven.Client.Connection.Async.IAsyncDatabaseCommands}}},Raven.Client.Shard.ShardStrategy,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="M:Raven.Client.Document.AsyncShardedDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,System.Func{Raven.Client.Shard.ShardRequestData,System.Collections.Generic.IList{System.Tuple{System.String,Raven.Client.Connection.Async.IAsyncDatabaseCommands}}},Raven.Client.Shard.ShardStrategy,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.ShardedDocumentQuery`1"/> class.
</summary>
@@ -4208,6 +4404,52 @@
Report on the progress of the operation
</summary>
</member>
+ <member name="T:Raven.Client.FieldHighlightings">
+ <summary>
+ Query highlightings for the documents.
+ </summary>
+ </member>
+ <member name="M:Raven.Client.FieldHighlightings.GetFragments(System.String)">
+ <summary>
+ Returns the list of document's field highlighting fragments.
+ </summary>
+ <param name="documentId">The document id.</param>
+ <returns></returns>
+ </member>
+ <member name="P:Raven.Client.FieldHighlightings.FieldName">
+ <summary>
+ The field name.
+ </summary>
+ </member>
+ <member name="T:Raven.Client.Extensions.AsyncDocumentSessionExtesions">
+ <summary>
+ Extension methods that allow the usage of non-async Store methods directly on an Async Session
+ </summary>
+ </member>
+ <member name="M:Raven.Client.Extensions.AsyncDocumentSessionExtesions.Store(Raven.Client.IAsyncDocumentSession,System.Object,System.Guid)">
+ <summary>
+ Stores the specified entity with the specified etag.
+ The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
+ </summary>
+ </member>
+ <member name="M:Raven.Client.Extensions.AsyncDocumentSessionExtesions.Store(Raven.Client.IAsyncDocumentSession,System.Object)">
+ <summary>
+ Stores the specified entity in the session. The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
+ </summary>
+ <param name="entity">The entity.</param>
+ </member>
+ <member name="M:Raven.Client.Extensions.AsyncDocumentSessionExtesions.Store(Raven.Client.IAsyncDocumentSession,System.Object,System.String)">
+ <summary>
+ Stores the specified entity with the specified etag, under the specified id
+ </summary>
+ </member>
+ <member name="M:Raven.Client.Extensions.AsyncDocumentSessionExtesions.Store(Raven.Client.IAsyncDocumentSession,System.Object,System.Guid,System.String)">
+ <summary>
+ Stores the specified dynamic entity, under the specified id
+ </summary>
+ <param name="entity">The entity.</param>
+ <param name="id">The id to store this entity under. If other entity exists with the same id it will be overridden.</param>
+ </member>
<member name="T:Raven.Client.IAsyncDocumentSessionImpl">
<summary>
Interface for document session using async approaches
@@ -4236,24 +4478,24 @@
</summary>
<param name="path">The path.</param>
</member>
- <member name="M:Raven.Client.IAsyncDocumentSession.Store(System.Object,System.Guid)">
+ <member name="M:Raven.Client.IAsyncDocumentSession.StoreAsync(System.Object,System.Guid)">
<summary>
Stores the specified entity with the specified etag.
The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
</summary>
</member>
- <member name="M:Raven.Client.IAsyncDocumentSession.Store(System.Object)">
+ <member name="M:Raven.Client.IAsyncDocumentSession.StoreAsync(System.Object)">
<summary>
Stores the specified entity in the session. The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
</summary>
<param name="entity">The entity.</param>
</member>
- <member name="M:Raven.Client.IAsyncDocumentSession.Store(System.Object,System.Guid,System.String)">
+ <member name="M:Raven.Client.IAsyncDocumentSession.StoreAsync(System.Object,System.Guid,System.String)">
<summary>
Stores the specified entity with the specified etag, under the specified id
</summary>
</member>
- <member name="M:Raven.Client.IAsyncDocumentSession.Store(System.Object,System.String)">
+ <member name="M:Raven.Client.IAsyncDocumentSession.StoreAsync(System.Object,System.String)">
<summary>
Stores the specified dynamic entity, under the specified id
</summary>
@@ -4336,12 +4578,13 @@
</summary>
<returns></returns>
</member>
- <member name="M:Raven.Client.IAsyncDocumentSession.Query``1(System.String)">
+ <member name="M:Raven.Client.IAsyncDocumentSession.Query``1(System.String,System.Boolean)">
<summary>
Queries the specified index using Linq.
</summary>
<typeparam name="T">The result of the query</typeparam>
<param name="indexName">Name of the index.</param>
+ <param name="isMapReduce">Whatever we are querying a map/reduce index (modify how we treat identifier properties)</param>
</member>
<member name="M:Raven.Client.IAsyncDocumentSession.Query``1">
<summary>
@@ -5088,6 +5331,11 @@
and raise <see cref="T:Raven.Abstractions.Exceptions.ConcurrencyException"/>.
</summary>
</member>
+ <member name="P:Raven.Client.IAdvancedDocumentSessionOperations.ExternalState">
+ <summary>
+ Allow extensions to provide additional state per session
+ </summary>
+ </member>
<member name="P:Raven.Client.IAdvancedDocumentSessionOperations.AllowNonAuthoritativeInformation">
<summary>
Gets or sets a value indicating whether non authoritative information is allowed.
@@ -5128,7 +5376,7 @@
Load documents with the specified key prefix
</summary>
</member>
- <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.AsyncLuceneQuery``1(System.String)">
+ <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.AsyncLuceneQuery``1(System.String,System.Boolean)">
<summary>
Query the specified index using Lucene syntax
</summary>
@@ -5138,17 +5386,41 @@
Dynamically query RavenDB using Lucene syntax
</summary>
</member>
+ <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.Store(System.Object,System.Guid)">
+ <summary>
+ Stores the specified entity with the specified etag.
+ The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
+ </summary>
+ </member>
+ <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.Store(System.Object)">
+ <summary>
+ Stores the specified entity in the session. The entity will be saved when <see cref="M:Raven.Client.IAsyncDocumentSession.SaveChangesAsync"/> is called.
+ </summary>
+ <param name="entity">The entity.</param>
+ </member>
+ <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.Store(System.Object,System.Guid,System.String)">
+ <summary>
+ Stores the specified entity with the specified etag, under the specified id
+ </summary>
+ </member>
+ <member name="M:Raven.Client.IAsyncAdvancedSessionOperations.Store(System.Object,System.String)">
+ <summary>
+ Stores the specified dynamic entity, under the specified id
+ </summary>
+ <param name="entity">The entity.</param>
+ <param name="id">The id to store this entity under. If other entity exists with the same id it will be overridden.</param>
+ </member>
<member name="T:Raven.Client.Linq.IDocumentQueryGenerator">
<summary>
Generate a new document query
</summary>
</member>
- <member name="M:Raven.Client.Linq.IDocumentQueryGenerator.Query``1(System.String)">
+ <member name="M:Raven.Client.Linq.IDocumentQueryGenerator.Query``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
</member>
- <member name="M:Raven.Client.Linq.IDocumentQueryGenerator.AsyncQuery``1(System.String)">
+ <member name="M:Raven.Client.Linq.IDocumentQueryGenerator.AsyncQuery``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
@@ -5168,7 +5440,7 @@
Load documents with the specified key prefix
</summary>
</member>
- <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.AsyncLuceneQuery``1(System.String)">
+ <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.AsyncLuceneQuery``1(System.String,System.Boolean)">
<summary>
Query the specified index using Lucene syntax
</summary>
@@ -5293,12 +5565,12 @@
</summary>
<typeparam name="T">The result of the query</typeparam>
</member>
- <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#Query``1(System.String)">
+ <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#Query``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
</member>
- <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.AsyncQuery``1(System.String)">
+ <member name="M:Raven.Client.Document.Async.AsyncDocumentSession.AsyncQuery``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
@@ -6367,6 +6639,11 @@
Also provide a function to execute when the value is evaluated
</summary>
</member>
+ <member name="M:Raven.Client.IDocumentQuery`1.GetIndexQuery(System.Boolean)">
+ <summary>
+ Create the index query object for this query
+ </summary>
+ </member>
<member name="P:Raven.Client.IDocumentQuery`1.QueryResult">
<summary>
Gets the query result
@@ -6374,7 +6651,7 @@
</summary>
<value>The query result.</value>
</member>
- <member name="M:Raven.Client.Document.DocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="M:Raven.Client.Document.DocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.DocumentQuery`1"/> class.
</summary>
@@ -6954,12 +7231,13 @@
Or whatever your conventions specify.
</remarks>
</member>
- <member name="M:Raven.Client.IDocumentSession.Query``1(System.String)">
+ <member name="M:Raven.Client.IDocumentSession.Query``1(System.String,System.Boolean)">
<summary>
Queries the specified index using Linq.
</summary>
<typeparam name="T">The result of the query</typeparam>
<param name="indexName">Name of the index.</param>
+ <param name="isMapReduce">Whatever we are querying a map/reduce index (modify how we treat identifier properties)</param>
</member>
<member name="M:Raven.Client.IDocumentSession.Query``1">
<summary>
@@ -7089,11 +7367,12 @@
<typeparam name="TIndexCreator">The type of the index creator.</typeparam>
<returns></returns>
</member>
- <member name="M:Raven.Client.ISyncAdvancedSessionOperation.LuceneQuery``1(System.String)">
+ <member name="M:Raven.Client.ISyncAdvancedSessionOperation.LuceneQuery``1(System.String,System.Boolean)">
<summary>
Query the specified index using Lucene syntax
</summary>
<param name="indexName">Name of the index.</param>
+ <param name="isMapReduce">Control how we treat identifier properties in map/reduce indexes</param>
</member>
<member name="M:Raven.Client.ISyncAdvancedSessionOperation.LuceneQuery``1">
<summary>
@@ -7255,13 +7534,13 @@
Or whatever your conventions specify.
</remarks>
</member>
- <member name="M:Raven.Client.Document.DocumentSession.Query``1(System.String)">
+ <member name="M:Raven.Client.Document.DocumentSession.Query``1(System.String,System.Boolean)">
<summary>
Queries the specified index using Linq.
</summary>
<typeparam name="T">The result of the query</typeparam>
<param name="indexName">Name of the index.</param>
- <returns></returns>
+ <param name="isMapReduce">Whatever we are querying a map/reduce index (modify how we treat identifier properties)</param>
</member>
<member name="M:Raven.Client.Document.DocumentSession.Query``2">
<summary>
@@ -7324,7 +7603,7 @@
<typeparam name="TIndexCreator">The type of the index creator.</typeparam>
<returns></returns>
</member>
- <member name="M:Raven.Client.Document.DocumentSession.LuceneQuery``1(System.String)">
+ <member name="M:Raven.Client.Document.DocumentSession.LuceneQuery``1(System.String,System.Boolean)">
<summary>
Query the specified index using Lucene syntax
</summary>
@@ -7362,12 +7641,12 @@
Dynamically query RavenDB using Lucene syntax
</summary>
</member>
- <member name="M:Raven.Client.Document.DocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#Query``1(System.String)">
+ <member name="M:Raven.Client.Document.DocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#Query``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
</member>
- <member name="M:Raven.Client.Document.DocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#AsyncQuery``1(System.String)">
+ <member name="M:Raven.Client.Document.DocumentSession.Raven#Client#Linq#IDocumentQueryGenerator#AsyncQuery``1(System.String,System.Boolean)">
<summary>
Create a new query for <typeparam name="T"/>
</summary>
@@ -8081,7 +8360,7 @@
A query that is executed against sharded instances
</summary>
</member>
- <member name="M:Raven.Client.Document.ShardedDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,System.Func{Raven.Client.Shard.ShardRequestData,System.Collections.Generic.IList{System.Tuple{System.String,Raven.Client.Connection.IDatabaseCommands}}},Raven.Client.Shard.ShardStrategy,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[])">
+ <member name="M:Raven.Client.Document.ShardedDocumentQuery`1.#ctor(Raven.Client.Document.InMemoryDocumentSessionOperations,System.Func{Raven.Client.Shard.ShardRequestData,System.Collections.Generic.IList{System.Tuple{System.String,Raven.Client.Connection.IDatabaseCommands}}},Raven.Client.Shard.ShardStrategy,System.String,System.String[],System.String[],Raven.Client.Listeners.IDocumentQueryListener[],System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Document.ShardedDocumentQuery`1"/> class.
</summary>
@@ -8325,7 +8604,7 @@
Provide a way to dynamically index values with runtime known values
</summary>
</member>
- <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialGenerate(System.Double,System.Double)">
+ <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialGenerate(System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>
Generates a spatial field in the index, generating a Point from the provided lat/lng coordinates
</summary>
@@ -8333,7 +8612,7 @@
<param name="lng">Longitude</param>
<returns></returns>
</member>
- <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialGenerate(System.String,System.Double,System.Double)">
+ <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialGenerate(System.String,System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>
Generates a spatial field in the index, generating a Point from the provided lat/lng coordinates
</summary>
@@ -8456,7 +8735,7 @@
</summary>
<value>The document store.</value>
</member>
- <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialIndex.Generate(System.String,System.Double,System.Double)">
+ <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialIndex.Generate(System.String,System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>
Generates a spatial field in the index, generating a Point from the provided lat/lng coordinates
</summary>
@@ -8464,7 +8743,7 @@
<param name="lat">Latitude</param>
<param name="lng">Longitude</param>
</member>
- <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialIndex.Generate(System.Double,System.Double)">
+ <member name="M:Raven.Client.Indexes.AbstractIndexCreationTask.SpatialIndex.Generate(System.Nullable{System.Double},System.Nullable{System.Double})">
<summary>
Generates a spatial field in the index, generating a Point from the provided lat/lng coordinates
</summary>
@@ -8506,11 +8785,26 @@
Register a field to be analyzed
</summary>
</member>
+ <member name="M:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.TermVector(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},Raven.Abstractions.Indexing.FieldTermVector)">
+ <summary>
+ Register a field to have term vectors
+ </summary>
+ </member>
+ <member name="M:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.TermVector(System.String,Raven.Abstractions.Indexing.FieldTermVector)">
+ <summary>
+ Register a field to have term vectors
+ </summary>
+ </member>
<member name="M:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.Sort(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},Raven.Abstractions.Indexing.SortOptions)">
<summary>
Register a field to be sorted
</summary>
</member>
+ <member name="M:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.Suggestion(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},Raven.Abstractions.Indexing.SuggestionOptions)">
+ <summary>
+ Register a field to be sorted
+ </summary>
+ </member>
<member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.TransformResults">
<summary>
The result translator definition
@@ -8536,6 +8830,11 @@
Index sort options
</summary>
</member>
+ <member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.IndexSuggestions">
+ <summary>
+ Index suggest options
+ </summary>
+ </member>
<member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.Analyzers">
<summary>
Index sort options
@@ -8546,6 +8845,16 @@
Index sort options
</summary>
</member>
+ <member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.TermVectors">
+ <summary>
+ Index term vector options
+ </summary>
+ </member>
+ <member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.TermVectorsStrings">
+ <summary>
+ Index term vector options
+ </summary>
+ </member>
<member name="P:Raven.Client.Indexes.AbstractGenericIndexCreationTask`1.Indexes">
<summary>
Indexing options
@@ -9306,6 +9615,24 @@
Get os set the analyzers
</summary>
</member>
+ <member name="P:Raven.Client.Indexes.IndexDefinitionBuilder`2.Suggestions">
+ <summary>
+ Gets or sets the suggestion options.
+ </summary>
+ <value>The suggestion options.</value>
+ </member>
+ <member name="P:Raven.Client.Indexes.IndexDefinitionBuilder`2.TermVectors">
+ <summary>
+ Gets or sets the term vector options
+ </summary>
+ <value>The term vectors.</value>
+ </member>
+ <member name="P:Raven.Client.Indexes.IndexDefinitionBuilder`2.TermVectorsStrings">
+ <summary>
+ Gets or sets the term vector options
+ </summary>
+ <value>The term vectors.</value>
+ </member>
<member name="T:Raven.Client.Indexes.IndexDefinitionBuilder`1">
<summary>
This class provides a way to define a strongly typed index on the client.
@@ -9462,15 +9789,53 @@
<param name="path">The path, which is name of the property that holds the id of the object to include.</param>
<returns></returns>
</member>
- <member name="M:Raven.Client.LinqExtensions.ToFacets``1(System.Linq.IQueryable{``0},System.String)">
+ <member name="M:Raven.Client.LinqExtensions.ToFacets``1(System.Linq.IQueryable{``0},System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Query the facets results for this query using the specified facet document
+ Query the facets results for this query using the specified facet document with the given start and pageSize
</summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
- <member name="M:Raven.Client.LinqExtensions.ToFacetsAsync``1(System.Linq.IQueryable{``0},System.String)">
+ <member name="M:Raven.Client.LinqExtensions.ToFacets``1(Raven.Client.IDocumentQuery{``0},System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Query the facets results for this query using the specified facet document
+ Query the facets results for this query using the specified facet document with the given start and pageSize
</summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
+ </member>
+ <member name="M:Raven.Client.LinqExtensions.ToFacetsLazy``1(System.Linq.IQueryable{``0},System.String,System.Int32,System.Nullable{System.Int32})">
+ <summary>
+ Lazily Query the facets results for this query using the specified facet document with the given start and pageSize
+ </summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
+ </member>
+ <member name="M:Raven.Client.LinqExtensions.ToFacetsLazy``1(Raven.Client.IDocumentQuery{``0},System.String,System.Int32,System.Nullable{System.Int32})">
+ <summary>
+ Lazily Query the facets results for this query using the specified facet document with the given start and pageSize
+ </summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
+ </member>
+ <member name="M:Raven.Client.LinqExtensions.ToFacetsAsync``1(System.Linq.IQueryable{``0},System.String,System.Int32,System.Nullable{System.Int32})">
+ <summary>
+ Async Query the facets results for this query using the specified facet document with the given start and pageSize
+ </summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
+ </member>
+ <member name="M:Raven.Client.LinqExtensions.ToFacetsAsync``1(Raven.Client.IAsyncDocumentQuery{``0},System.String,System.Int32,System.Nullable{System.Int32})">
+ <summary>
+ Async Query the facets results for this query using the specified facet document with the given start and pageSize
+ </summary>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.LinqExtensions.As``1(System.Linq.IQueryable)">
<summary>
@@ -9536,6 +9901,11 @@
Returns a list of results for a query asynchronously.
</summary>
</member>
+ <member name="M:Raven.Client.LinqExtensions.AnyAsync``1(System.Linq.IQueryable{``0})">
+ <summary>
+ Returns whatever the query has any results asynchronously
+ </summary>
+ </member>
<member name="M:Raven.Client.LinqExtensions.CountAsync``1(System.Linq.IQueryable{``0})">
<summary>
Returns the total count of results for a query asynchronously.
@@ -9557,7 +9927,7 @@
Implements <see cref="T:Raven.Client.Linq.IRavenQueryable`1"/>
</summary>
</member>
- <member name="M:Raven.Client.Linq.RavenQueryInspector`1.#ctor(Raven.Client.Linq.IRavenQueryProvider,Raven.Client.RavenQueryStatistics,System.String,System.Linq.Expressions.Expression,Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands)">
+ <member name="M:Raven.Client.Linq.RavenQueryInspector`1.#ctor(Raven.Client.Linq.IRavenQueryProvider,Raven.Client.RavenQueryStatistics,Raven.Client.RavenQueryHighlightings,System.String,System.Linq.Expressions.Expression,Raven.Client.Document.InMemoryDocumentSessionOperations,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Linq.RavenQueryInspector`1"/> class.
</summary>
@@ -9588,14 +9958,6 @@
A <see cref="T:System.String"/> that represents this instance.
</returns>
</member>
- <member name="M:Raven.Client.Linq.RavenQueryInspector`1.ToAsyncString">
- <summary>
- Returns a <see cref="T:System.String"/> that represents this instance.
- </summary>
- <returns>
- A <see cref="T:System.String"/> that represents this instance.
- </returns>
- </member>
<member name="M:Raven.Client.Linq.RavenQueryInspector`1.GetLastEqualityTerm(System.Boolean)">
<summary>
Get the last equality term for the query
@@ -9631,7 +9993,7 @@
An implementation of <see cref="T:Raven.Client.Linq.IRavenQueryProvider"/>
</summary>
</member>
- <member name="M:Raven.Client.Linq.RavenQueryProvider`1.#ctor(Raven.Client.Linq.IDocumentQueryGenerator,System.String,Raven.Client.RavenQueryStatistics,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands)">
+ <member name="M:Raven.Client.Linq.RavenQueryProvider`1.#ctor(Raven.Client.Linq.IDocumentQueryGenerator,System.String,Raven.Client.RavenQueryStatistics,Raven.Client.RavenQueryHighlightings,Raven.Client.Connection.IDatabaseCommands,Raven.Client.Connection.Async.IAsyncDatabaseCommands,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Linq.RavenQueryProvider`1"/> class.
</summary>
@@ -9740,7 +10102,7 @@
The index name
</summary>
</member>
- <member name="M:Raven.Client.Linq.RavenQueryProviderProcessor`1.#ctor(Raven.Client.Linq.IDocumentQueryGenerator,System.Action{Raven.Client.IDocumentQueryCustomization},System.Action{Raven.Abstractions.Data.QueryResult},System.String,System.Collections.Generic.HashSet{System.String},System.Collections.Generic.Dictionary{System.String,System.String})">
+ <member name="M:Raven.Client.Linq.RavenQueryProviderProcessor`1.#ctor(Raven.Client.Linq.IDocumentQueryGenerator,System.Action{Raven.Client.IDocumentQueryCustomization},System.Action{Raven.Abstractions.Data.QueryResult},System.String,System.Collections.Generic.HashSet{System.String},System.Collections.Generic.List{Raven.Client.Linq.RenamedField},System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Client.Linq.RavenQueryProviderProcessor`1"/> class.
</summary>
@@ -9921,13 +10283,13 @@
<param name="txId">The tx id.</param>
<param name="recoveryInformation">The recovery information.</param>
</member>
- <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.Query``1(System.String)">
+ <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.Query``1(System.String,System.Boolean)">
<summary>
Queries the specified index using Linq.
</summary>
<typeparam name="T">The result of the query</typeparam>
<param name="indexName">Name of the index.</param>
- <returns></returns>
+ <param name="isMapReduce">Whatever we are querying a map/reduce index (modify how we treat identifier properties)</param>
</member>
<member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.Query``1">
<summary>
@@ -9943,12 +10305,12 @@
<typeparam name="TIndexCreator">The type of the index creator.</typeparam>
<returns></returns>
</member>
- <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.IDocumentQueryGeneratorQuery``1(System.String)">
+ <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.IDocumentQueryGeneratorQuery``1(System.String,System.Boolean)">
<summary>
Implements IDocumentQueryGenerator.Query
</summary>
</member>
- <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.IDocumentQueryGeneratorAsyncQuery``1(System.String)">
+ <member name="M:Raven.Client.Shard.BaseShardedDocumentSession`1.IDocumentQueryGeneratorAsyncQuery``1(System.String,System.Boolean)">
<summary>
Implements IDocumentQueryGenerator.AsyncQuery
</summary>
View
0  ...2.0.2230/lib/sl40/AsyncCtpLibrary_Silverlight.dll → ...Unstable/lib/sl40/AsyncCtpLibrary_Silverlight.dll
File renamed without changes
View
0  ...2.0.2230/lib/sl40/AsyncCtpLibrary_Silverlight.xml → ...Unstable/lib/sl40/AsyncCtpLibrary_Silverlight.xml
File renamed without changes
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl40/Raven.Client.Silverlight-4.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl40/Raven.Client.Silverlight-4.pdb
Binary file not shown
View
0  ....0.2230/lib/sl50/AsyncCtpLibrary_Silverlight5.dll → ...nstable/lib/sl50/AsyncCtpLibrary_Silverlight5.dll
File renamed without changes
View
0  ....0.2230/lib/sl50/AsyncCtpLibrary_Silverlight5.xml → ...nstable/lib/sl50/AsyncCtpLibrary_Silverlight5.xml
File renamed without changes
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl50/Raven.Client.Silverlight.dll
Binary file not shown
View
BIN  version_2_5/packages/RavenDB.Client.2.0.2288-Unstable/lib/sl50/Raven.Client.Silverlight.pdb
Binary file not shown
View
574 ...nt.2.0.2230/lib/sl50/Raven.Client.Silverlight.xml → ...88-Unstable/lib/sl50/Raven.Client.Silverlight.xml
@@ -7025,6 +7025,42 @@
A list of results for the facet. One entry for each term/range as specified in the facet setup document.
</summary>
</member>
+ <member name="T:Raven.Abstractions.Data.HighlightedField">
+ <summary>
+ Represent a field highlight options
+ </summary>
+ </member>
+ <member name="M:Raven.Abstractions.Data.HighlightedField.TryParse(System.String,Raven.Abstractions.Data.HighlightedField@)">
+ <summary>
+ Converts the string representation of a field highlighting options to the <see cref="T:Raven.Abstractions.Data.HighlightedField"/> class.
+ </summary>
+ <param name="value">
+ Field highlighting options
+ <example>Text:250,3,TextFragments</example>
+ </param>
+ <param name="result"></param>
+ <returns></returns>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.Field">
+ <summary>
+ Gets or sets the field.
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentLength">
+ <summary>
+ Gets or sets the fragment length.
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentCount">
+ <summary>
+ Gets or sets a value indicating how many highlight fragments should be created for the field
+ </summary>
+ </member>
+ <member name="P:Raven.Abstractions.Data.HighlightedField.FragmentsField">
+ <summary>
+ Gets or sets the field in query result item for highlighting fragments
+ </summary>
+ </member>
<member name="T:Raven.Abstractions.Data.IJsonDocumentMetadata">
<summary>
Interface that is used purely internally
@@ -7131,11 +7167,54 @@
<param name="e">The exception.</param>
<returns>The primary portion of the exception message.</returns>
</member>
+ <member name="T:Raven.Abstractions.Indexing.FieldTermVector">
+ <summary>
+ Specifies whether to include term vectors for a field
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.No">
+ <summary>
+ Do not store term vectors
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.Yes">
+ <summary>
+ Store the term vectors of each document. A term vector is a list of the document's
+ terms and their number of occurrences in that document.
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithPositions">
+ <summary>
+ Store the term vector + token position information
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithOffsets">
+ <summary>
+ Store the term vector + Token offset information
+ </summary>
+ </member>
+ <member name="F:Raven.Abstractions.Indexing.FieldTermVector.WithPositionsAndOffsets">
+ <summary>
+ Store the term vector + Token position and offset information
+ </summary>
+ </member>
<member name="F:Raven.Abstractions.Indexing.SpatialRelation.Nearby">
<summary>
Does not filter the query, merely sort by the distance
</summary>
</member>
+ <member name="P:Raven.Abstractions.Indexing.SuggestionOptions.Distance">
+ <summary>
+ Gets or sets the string distance algorithm.
+ </summary>
+ <value>The distance. The default value is StringDistanceTypes.Levenshtein.</value>
+ </member>
+ <member name="P:Raven.Abstractions.Indexing.SuggestionOptions.Accuracy">
+ <summary>
+ Gets or sets the accuracy.
+ </summary>
+ <value>The accuracy. The default value is 0.5f.</value>
+ </member>
<member name="M:Raven.Abstractions.Json.JsonDateTimeOffsetConverter.WriteJson(Raven.Imports.Newtonsoft.Json.JsonWriter,System.Object,Raven.Imports.Newtonsoft.Json.JsonSerializer)">
<summary>
Writes the JSON representation of the object.
@@ -7939,6 +8018,12 @@
</summary>
<param name="value">The value.</param>
</member>
+ <member name="M:Raven.Json.Linq.RavenJValue.#ctor(System.Single)">
+ <summary>
+ Initializes a new instance of the <see cref="T:Raven.Json.Linq.RavenJValue"/> class with the given value.
+ </summary>
+ <param name="value">The value.</param>
+ </member>
<member name="M:Raven.Json.Linq.RavenJValue.#ctor(System.DateTime)">
<summary>
Initializes a new instance of the <see cref="T:Raven.Json.Linq.RavenJValue"/> class with the given value.
@@ -8220,7 +8305,7 @@
with the specified database
</summary>
</member>
- <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.ForDefaultDatabase">
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.ForSystemDatabase">
<summary>
Create a new instance of <see cref="T:Raven.Client.Connection.Async.IAsyncDatabaseCommands"/> that will interacts
with the default database
@@ -8301,10 +8386,15 @@
<param name="patch">The patch request to use (using JavaScript)</param>
<param name="allowStale">if set to <c>true</c> [allow stale].</param>
</member>
- <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.GetLogsAsync(System.Boolean)">
<summary>
@@ -8356,6 +8446,13 @@
Force the database commands to read directly from the master, unless there has been a failover.
</summary>
</member>
+ <member name="M:Raven.Client.Connection.Async.IAsyncDatabaseCommands.HeadAsync(System.String)">
+ <summary>
+ Retrieves the document metadata for the specified document key.
+ </summary>
+ <param name="key">The key.</param>
+ <returns>The document metadata for the specified document, or null if the document does not exist</returns>
+ </member>
<member name="P:Raven.Client.Connection.Async.IAsyncDatabaseCommands.OperationsHeaders">
<summary>
Gets the operations headers.
@@ -8448,7 +8545,7 @@
with the specified database
</summary>
</member>
- <member name="M:Raven.Client.Connection.Async.AsyncServerClient.ForDefaultDatabase">
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.ForSystemDatabase">
<summary>
Create a new instance of <see cref="!:IDatabaseCommands"/> that will interact
with the root database. Useful if the database has works against a tenant database.
@@ -8474,10 +8571,15 @@
This is primarily useful for administration of a database
</remarks>
</member>
- <member name="M:Raven.Client.Connection.Async.AsyncServerClient.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String)">
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.GetFacetsAsync(System.String,Raven.Abstractions.Data.IndexQuery,System.String,System.Int32,System.Nullable{System.Int32})">
<summary>
- Using the given Index, calculate the facets as per the specified doc
+ Using the given Index, calculate the facets as per the specified doc with the given start and pageSize
</summary>
+ <param name="index">Name of the index</param>
+ <param name="query">Query to build facet results</param>
+ <param name="facetSetupDoc">Name of the FacetSetup document</param>
+ <param name="start">Start index for paging</param>
+ <param name="pageSize">Paging PageSize. If set, overrides Facet.MaxResults</param>
</member>
<member name="M:Raven.Client.Connection.Async.AsyncServerClient.MultiGetAsync(Raven.Abstractions.Data.GetRequest[])">
<summary>
@@ -8567,6 +8669,11 @@
Force the database commands to read directly from the master, unless there has been a failover.
</summary>
</member>
+ <member name="M:Raven.Client.Connection.Async.AsyncServerClient.DirectHeadAsync(System.String,System.String)">
+ <summary>
+ Do a direct HEAD request against the server for the specified document
+ </summary>
+ </member>
<member name="P:Raven.Client.Connection.Async.AsyncServerClient.OperationsHeaders">
<summary>
Gets or sets the operations headers.
@@ -8725,6 +8832,11 @@
The result of this request
</summary>
</member>
+ <member name="P:Raven.Client.Connection.Profiling.RequestResultArgs.TotalSize">
+ <summary>
+ Total amount of memory used by strings here
+ </summary>
+ </member>
<member name="T:Raven.Client.Connection.Profiling.RequestStatus">
<su
The status of the request
@@ -9118,6 +9230,46 @@
Execute the transformation function on the results of this query.
</summary>
</member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.Highlight(System.String,System.Int32,System.Int32,System.String)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsField">The field in query results item to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.Highlight(System.String,System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="highlightings">Field highlightings for all results.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.SetHighlighterTags(System.String,System.String)">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTag">Prefix tag.</param>
+ <param name="postTag">Postfix tag.</param>
+ </member>
+ <member name="M:Raven.Client.IDocumentQueryCustomization.SetHighlighterTags(System.String[],System.String[])">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTags">Prefix tags.</param>
+ <param name="postTags">Postfix tags.</param>
+ </member>
<member name="T:Raven.Client.Connection.IRavenQueryInspector">
<summary>
Provide access to the underlying <see cref="T:Raven.Client.IDocumentQuery`1"/>
@@ -9128,6 +9280,11 @@
The last term that we asked the query to use equals on
</summary>
</member>
+ <member name="M:Raven.Client.Connection.IRavenQueryInspector.GetIndexQuery(System.Boolean)">
+ <summary>
+ Get the index query for this query
+ </summary>
+ </member>
<member name="P:Raven.Client.Connection.IRavenQueryInspector.IndexQueried">
<summary>
Get the name of the index being queried
@@ -9379,6 +9536,46 @@
</summary>
<param name = "fields">The fields.</param>
</member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.Highlight(System.String,System.Int32,System.Int32,System.String)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="fragmentsField">The field in query results item to put highlightings into.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.Highlight(System.String,System.Int32,System.Int32,Raven.Client.FieldHighlightings@)">
+ <summary>
+ Adds matches highlighting for the specified field.
+ </summary>
+ <remarks>
+ The specified field should be analysed and stored for highlighter to work.
+ For each match it creates a fragment that contains matched text surrounded by highlighter tags.
+ </remarks>
+ <param name="fieldName">The field name to highlight.</param>
+ <param name="fragmentLength">The fragment length.</param>
+ <param name="fragmentCount">The maximum number of fragments for the field.</param>
+ <param name="highlightings">Field highlightings for all results.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.SetHighlighterTags(System.String,System.String)">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTag">Prefix tag.</param>
+ <param name="postTag">Postfix tag.</param>
+ </member>
+ <member name="M:Raven.Client.Document.IAbstractDocumentQuery`1.SetHighlighterTags(System.String[],System.String[])">
+ <summary>
+ Sets the tags to highlight matches with.
+ </summary>
+ <param name="preTags">Prefix tags.</param>
+ <param name="postTags">Postfix tags.</param>
+ </member>