An <analyzer> with no type specified is used at both indexing and
query parsing time. Sometimes it is desirable to do different
tokenization depending on when it is occurring (such as synonym
injection).
Erik
On Oct 6, 2008, at 4:32 AM, sanraj25 wrote:
>
> Hi,
> In schema.xml we use analyzer tag inside of fieldtype tag.In
> Analyzer
> tag some times we specify type="index" and type="query".
> ex: <analyzer type="index">
> some times we do not specify any type in analyzer
> ex: <analyzer>.
> In what situation we will use <analyzer> tag?. and what situation we
> give
> type attribute?
> please give some idea
>
> Thanks
>
> -sanraj
> --
> View this message in context:
http://www.nabble.com/Analysers-and-Tokenizers-tp19833876p19833876.html> Sent from the Solr - User mailing list archive at Nabble.com.