You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Roy Klein <kl...@sitescape.com> on 2005/08/10 16:08:39 UTC

DOM or XML representation of a query?

Hi,

The "front-end" guys working on my application need a way to pass me complex
queries. I was thinking that it'd be pretty straightforward to hand them a
package which helps them to create a DOM object which describes a query
(i.e. nested Booleans combined with phrases and keyword searches, sort by
field, etc).   I did a few searches in the archive of this list, but didn't
find any examples, however, I suspect it's a common requirement amongst
members of this list.

Can anybody point be at an example of the above?

Thanks!

Roy



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: DOM or XML representation of a query?

Posted by Andrzej Bialecki <ab...@getopt.org>.
Roy Klein wrote:
> Hi,
> 
> The "front-end" guys working on my application need a way to pass me complex
> queries. I was thinking that it'd be pretty straightforward to hand them a
> package which helps them to create a DOM object which describes a query
> (i.e. nested Booleans combined with phrases and keyword searches, sort by
> field, etc).   I did a few searches in the archive of this list, but didn't
> find any examples, however, I suspect it's a common requirement amongst
> members of this list.
> 
> Can anybody point be at an example of the above?
> 
> Thanks!

I suggest using OpenSearch API, this is what Nutch uses (oh, and also a 
company called Amazon ;)

http://opensearch.a9.com


-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org