Skip to content

Commit

Permalink
line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ayende committed Dec 15, 2014
1 parent 34795e7 commit c2dc43e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Ch08/Ch08.md
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,9 @@ Queries in RavenDB offer a few additional operations that you can take advantage

Trying to execute this query will result in the following error:

Contains is not supported, doing a substring match over a text field is a very slow operation, and is not allowed using the Linq API.
Contains is not supported, doing a substring match over a text
field is a very slow operation, and is not allowed using the
Linq API.

There are far better ways to handle such a scenario, as we'll see in detail in our next chapter. But `Contains` isn't limited to just substring searches, you can search for an item in a list. Finding an employee who is responsible for a certain territory, for example:

Expand Down Expand Up @@ -718,4 +720,4 @@ Multi map indexes were the next topic at hand, allowing us to index multiple col

We discussed the `LoadDocument` feature, its stengths and its weaknesses. This feature allows us to index related documents, but at a potentially heavy cost during indexing. We concluded this chapter by going over the querying options that we have, we looked at equality and range comparisons, complex queries, the cost of prefix and postfix searches and advanced query operations such as `Contains`, `In`, and performing nested queries using `Any`.

That is quite a lot to digest, and I recommend that you'll spend some time playing around with the indexing and querying options that RavenDB offers, to get yourself familiar with the range of tools that it opens up. In the next chapter, we are going to talk about full text searching, making full use of Lucene and its capabilities. After that, we'll go on to talk about map/reduce and what we can do with _that_.
That is quite a lot to digest, and I recommend that you'll spend some time playing around with the indexing and querying options that RavenDB offers, to get yourself familiar with the range of tools that it opens up. In the next chapter, we are going to talk about full text searching, making full use of Lucene and its capabilities. After that, we'll go on to talk about map/reduce and what we can do with _that_.g

0 comments on commit c2dc43e

Please sign in to comment.