blog1 = {
BlogId = 1,
Title = 'RavenDB',
AuthorName = 'vinod',
Description='Examples in RavenDB'
};
blog2 = {
BlogId = 2,
Title = 'Lucene',
AuthorName = 'vinod',
Description='Examples in Lucene'
};
post1 = {
PostId = 1,
BlogId = 1,
Title = 'Storing a entity',
AuthorName = 'Kumar',
Content = 'This is the content having for the example storing an entity'
};
post2 = {
PostId = 2,
BlogId = 1,
Title = 'Multi Mapping',
AuthorName = 'Vinod',
Content = 'This is the content having for the example for multi mapping'
};
post3 = {
PostId = 3,
BlogId = 2,
Title = 'Adding Document',
AuthorName = 'Vinod',
Content = 'This is the content having for the example for adding documents'
};
post4 = {
PostId = 4,
BlogId = 2,
Title = 'Quering',
AuthorName = 'Kumar',
Content = 'This is the content having for the example for Quering Documents'
};
Now
query = Vinod
Results:
blog1
post1
post2
blog2
post3
post4
query = RavenDB
Results:
blog1
post1
post2
query = kumar
Results:
post1
post4
This is my requirement. Can somebody guide me. The like provided cannot search as it can for me!!!
I want to get the posts associated with the blogs as i have paging in my application,
i want to completely make it through search.