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

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

2013-08-13 Thread Guillaume Smet
Hi, Note: this is just a prospective idea I'd like to discuss. Even if it's a good idea, it's definitely 5.0 material. Those who have used Solr and are familiar with the Solr schema have already seen the ability to use different analyzer for indexing and querying. It's usually useful when you us