berko
berko

Reputation: 2975

RavenDb LuceneQuery Suggest search

I would like to attempt to take advantage of the Suggest feature in RavenDb. Is it possible to do this when using a session.Advanced.LuceneQuery?

I am using the Advanced option as I'm indexing in a multi-map scenario where the return type is not known, which prevents using the strongly typed Linq querying.

Upvotes: 1

Views: 170

Answers (1)

Ayende Rahien
Ayende Rahien

Reputation: 22956

When using LuceneQuery, you need to call the store.DatabaseCommands.Suggest() yourself.

Upvotes: 2

Related Questions