| From | Sent On | Attachments |
|---|---|---|
| Andreas Hartmann | Apr 2, 2008 2:05 am | |
| Andreas Hartmann | Apr 4, 2008 7:46 am | |
| kanth nalluri | Apr 5, 2008 4:25 am | |
| Andreas Hartmann | Apr 6, 2008 2:20 pm | |
| Andreas Hartmann | May 13, 2008 8:28 am | |
| Thorsten Scherler | Jul 16, 2009 2:52 am | |
| Andreas Hartmann | Jul 16, 2009 3:18 am | |
| Thorsten Scherler | Jul 16, 2009 3:33 am |
| Subject: | Re: API for document search | |
|---|---|---|
| From: | Andreas Hartmann (andr...@apache.org) | |
| Date: | Jul 16, 2009 3:18:50 am | |
| List: | org.apache.lenya.user | |
Thorsten Scherler schrieb:
On Tue, 2008-05-13 at 17:28 +0200, Andreas Hartmann wrote:
Andreas Hartmann schrieb:
Andreas Hartmann schrieb:
Hi Lenya users,
I'd like to hear about your opinions regarding the search capabilities Lenya should provide.
I have prepared a first draft for the search API:
http://lenya.zones.apache.org/drafts/searchapi/
Any questions and comments are very welcome. In my sandbox I also have a Lucene-based implementation which I'm testing at the moment.
I opened a bug and attached a patch:
I had a quick look at the patch. The only question is why you removed the ESCAPED_CHARACTERS part? Is it to force this control to the client?
The Lucene QueryParser already provides a method for this purpose, so we can delegate it:
- return new Term(escape(field), value); + return new Term(QueryParser.escape(field), value);
IMO this functionality is a BIG improvement to lenya and should go into our dist.
Yes, I think so too. I could commit it to the 2.1 branch as soon as it is created.
-- Andreas
-- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01





