Skip to content

Instantly share code, notes, and snippets.

View kijanawoodard's full-sized avatar

Kijana Woodard kijanawoodard

View GitHub Profile
@kijanawoodard
kijanawoodard / gist:2889006
Created June 7, 2012 14:09
RavenDB - Grouping multiple fields into one searchable field
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
@kijanawoodard
kijanawoodard / gist:2889083
Created June 7, 2012 14:28
RavenDB - Grouping multiple fields into one searchable field, but hiding the dangling field with an explicit interface
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
@kijanawoodard
kijanawoodard / gist:2889089
Created June 7, 2012 14:28
RavenDB - Grouping multiple fields into one searchable field, but hiding the dangling field with an explicit interface
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
public class SummarizeTests2 : IDisposable
{
protected DateTimeOffset Now { get; private set; }
protected EmbeddableDocumentStore DocumentStore { get; private set; }
protected IDocumentSession Session { get; private set; }
public SummarizeTests2()
{
Now = DateTimeOffset.Now;
@kijanawoodard
kijanawoodard / gist:3071379
Created July 8, 2012 15:44
Searching Multiple Nested Fields
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
namespace RavenIssues
@kijanawoodard
kijanawoodard / gist:3071606
Created July 8, 2012 16:20
CoWorker Test
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
namespace RavenIssues
@kijanawoodard
kijanawoodard / gist:3098624
Created July 12, 2012 14:54
Project details from Orders
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;
@kijanawoodard
kijanawoodard / gist:3105325
Created July 13, 2012 14:55
Escaped Id Test
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Xunit;
namespace RavenIssues
{
@kijanawoodard
kijanawoodard / gist:3108073
Created July 13, 2012 22:52
Can Load 5000 entities
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Xunit;
namespace RavenIssues
{
@kijanawoodard
kijanawoodard / gist:3152992
Created July 20, 2012 20:16
SectionWithTagNameIndexFailingTest
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Xunit;