Re: [hibernate-dev] HSEARCH - Different analyzers for Indexing and Querying

2013-08-22 Thread Emmanuel Bernard
On Thu 2013-08-22 13:40, Guillaume Smet wrote: > Hi Emmanuel, > > On Wed, Aug 21, 2013 at 5:20 PM, Emmanuel Bernard > wrote: > > Can you explain to me why you would need a different analyzer for a > > wildcard query? My brain is still tanning on the beach. > > Well, it's the Lucene way. Wildcard

Re: [hibernate-dev] HSEARCH - Different analyzers for Indexing and Querying

2013-08-22 Thread Guillaume Smet
Hi Emmanuel, On Wed, Aug 21, 2013 at 5:20 PM, Emmanuel Bernard wrote: > Can you explain to me why you would need a different analyzer for a > wildcard query? My brain is still tanning on the beach. Well, it's the Lucene way. Wildcard queries are usually not analyzed (see QueryParser or what you'

Re: [hibernate-dev] HSEARCH - Different analyzers for Indexing and Querying

2013-08-21 Thread Emmanuel Bernard
It looks like an interesting idea especially as it keep the simple use case simple (ie simply not defining an queryAnalyzer. Can you explain to me why you would need a different analyzer for a wildcard query? My brain is still tanning on the beach. Brainstorming here we could do the following @A