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:

https://issues.apache.org/bugzilla/show_bug.cgi?id=44990

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to