Unfortunately, I don't see how the KeywordTokenizerFactory could work given
the field in question is delimited text (paragraphs) and the
KeywordTokenizerFactory essentially does nothing to the inbound content.

 

Feel like I must be missing something . . . but can't figure out what.

 

Do I really need to write a custom analyzer for this?

 

  _____  

>From Erick Erickson <erickerick...@gmail.com> Subject Re: Index an entire
Phrase and not it's constituent parts? Date Thu, 04 Mar 2010 19:55:58 GMT 

Try KeywordTokenizerFactory. This page is very useful:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
 
HTH
<http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters>Erick
 
On Thu, Mar 4, 2010 at 2:31 PM, Christopher Ball <
christopher.b...@metaheuristica.com> wrote:
 
> How can I Index an entire Phrases and not it's constituent parts?
> 
> 
> 
> I want to index collations as a single term in the index, and not as the
> multiple terms that comprise the phrase, for example, I want to index: "as
> much as" but not the independent parts: "as", "much", "as".
> 
> 
> 
> Any guidance appreciated,
> 
> 
> 
> Christopher
 

 

Reply via email to