Re: [hibernate-dev] Hibernate web search

2008-09-23 Thread Adam Warski
Hello, I like the idea of a parser using the Google syntax (you don't have to disable explicit fields BTW - recognzing a term:term syntax should be doable). The hard problem to crack is what's behind. I explain that in Hibernate Search in Action, a lot of good search engine do searches in

Re: [hibernate-dev] Hibernate web search

2008-09-23 Thread Adam Warski
Hello, Writing such a queryparser is really easy if you consider acceptable to catch "QueryParseException"s what I usually do in case of such an exception is report a JSF validation error with some instructions about query syntax. Well, Google doesn't show validation exceptions if you mistype th

Re: [hibernate-dev] Hibernate web search

2008-09-22 Thread Emmanuel Bernard
I like the idea of a parser using the Google syntax (you don't have to disable explicit fields BTW - recognzing a term:term syntax should be doable). The hard problem to crack is what's behind. I explain that in Hibernate Search in Action, a lot of good search engine do searches in tiers:

Re: [hibernate-dev] Hibernate web search

2008-09-22 Thread Sanne Grinovero
Hello Adam, I agree with you that the Seam example could include a better parser, but that's just an example and maybe they just wanted to keep it simple. As you say, there could be a parser provided with HSearch to keep the example code simple but what is missing in your opinion? Writing such a qu

Re: [hibernate-dev] Hibernate web search

2008-09-22 Thread Adam Warski
Hello, in fact I was facing similar problems before, however the problem is more of a Lucene problem than a Hibernate Search one. Sure, but it doesn't mean HS can't solve it :) There are some threads regarding "error tolerant" query parsers on the Lucene mailing list. There are several appr

Re: [hibernate-dev] Hibernate web search

2008-09-22 Thread Hardy Ferentschik
Hi Adam, in fact I was facing similar problems before, however the problem is more of a Lucene problem than a Hibernate Search one. There are some threads regarding "error tolerant" query parsers on the Lucene mailing list. There are several approaches to the problem. You could catch the Pars

[hibernate-dev] Hibernate web search

2008-09-21 Thread Adam Warski
Hello, one feature I find missing from Hibernate Search is a possibility to easily implement a web search. A good example is a blog app, where you can search contents of posts. A post is a simple entity with a "body" field, which is indexed by Hibernate Search/Lucene. You then have the no