On Wed, Oct 15, 2014 at 1:25 PM, Tom Hood <[email protected]> wrote:

> Hi,
>
> When it is necessary to use a different analyzer for the query vs. the one
> used during indexing, what is the recommended way to do this in blur?
>

The normal use case is that the indexing and querying analyzers be the same.


>
> Should TextFieldTypeDefinition support another property that allows
> specifying the queryAnalyzerClass to use?
>

Yes that might be a good idea for the most flexible solution.


>
> It seems like I can just subclass TextFieldTypeDefinition and return
> different analyzers for getAnalyzerForIndex vs getAnalyzerForQuery.  Does
> that sound right?
>

Yes you can.


>
> Are there any limitations that blur imposes on custom type definitions that
> don't exist for the built-in  type definitions?
>

No.  All the blur types are treated the same whether they are built in or
not.

Thanks!

Aaron


>
> Thanks,
> -- Tom
>

Reply via email to