RE: Phrase search on NOT_ANALYZED content

2010-03-04 Thread Murdoch, Paul
-user-return-45278-paul.b.murdoch=saic@lucene.apache.org [mailto:java-user-return-45278-paul.b.murdoch=saic@lucene.apache.org ] On Behalf Of Erick Erickson Sent: Wednesday, March 03, 2010 4:30 PM To: java-user@lucene.apache.org Subject: Re: Phrase search on NOT_ANALYZED content NOT_ANALYZED

Re: Phrase search on NOT_ANALYZED content

2010-03-04 Thread Erick Erickson
Erickson Sent: Wednesday, March 03, 2010 4:30 PM To: java-user@lucene.apache.org Subject: Re: Phrase search on NOT_ANALYZED content NOT_ANALYZED is probably not what you want. NOT_ANALYZED stores the entire input as a *single* token, so you can never match on anything except the entire

RE: Phrase search on NOT_ANALYZED content

2010-03-04 Thread Murdoch, Paul
, March 04, 2010 8:54 AM To: java-user@lucene.apache.org Subject: Re: Phrase search on NOT_ANALYZED content I'm still struggling with your overall goal here, but... It sounds like what you're looking for is an exact match in some cases but not others? In which case you could think about indexing

Phrase search on NOT_ANALYZED content

2010-03-03 Thread Murdoch, Paul
If I have indexed some content that contains some words and a single whitespace between each word as NOT_ANALYZED, is it possible to perform a phrase search on that a portion of that content? I'm indexing and searching with the StandardAnalyzer 2.9. Using the KeywordAnalyzer works, but I have to

Re: Phrase search on NOT_ANALYZED content

2010-03-03 Thread Erick Erickson
NOT_ANALYZED is probably not what you want. NOT_ANALYZED stores the entire input as a *single* token, so you can never match on anything except the entire input. What did you hope to accomplish by indexint NOT_ANALYZED? That's actually a pretty specialized thing to do, perhaps there's a better