Skip to content

Commit

Permalink
HSEARCH-748 Point out that defining an Analyzer is not enough to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed May 11, 2011
1 parent 33d387f commit 5c3364e
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -604,6 +604,12 @@ public class Book {
...
}</programlisting>
</example>
<para>Using <classname>@AnalyzerDef</classname> only defines an Analyzer,
you still have to apply it to entities and or properties using
<classname>@Analyzer</classname>. Like in the above example the <literal>customanalyzer</literal>
is defined but not applied on the entity: it's applied on the <literal>title</literal>
and <literal>subtitle</literal> properties only. An analyzer definition is global, so you
can define it on any entity and reuse the definition on other entities.</para>
</section>

<section>
Expand Down

0 comments on commit 5c3364e

Please sign in to comment.