Re: Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-12-02 Thread yeikel valdes
Is there any builder for the XMLQueryParser so that we don't need to build as a String? And what query DSL are you referring to? On Mon, 02 Dec 2019 08:00:57 -1100 m...@apache.org wrote and Query DSL as well. Although, it didn't get the point in the topic starter. On Mon, Dec 2,

Re: Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-12-02 Thread Mikhail Khludnev
and Query DSL as well. Although, it didn't get the point in the topic starter. On Mon, Dec 2, 2019 at 9:16 PM Alexandre Rafalovitch wrote: > What about XMLQueryParser: > > https://lucene.apache.org/solr/guide/8_2/other-parsers.html#xml-query-parser > > Regards, >Alex. > > On Wed, 27 Nov

Re: Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-12-02 Thread Alexandre Rafalovitch
What about XMLQueryParser: https://lucene.apache.org/solr/guide/8_2/other-parsers.html#xml-query-parser Regards, Alex. On Wed, 27 Nov 2019 at 22:43, wrote: > > I am trying to simulate the following query(Lucene query builder) using Solr > > > > > BooleanQuery.Builder main = new

Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-11-27 Thread email
I am trying to simulate the following query(Lucene query builder) using Solr BooleanQuery.Builder main = new BooleanQuery.Builder(); Term t1 = new Term("f1","term"); Term t2 = new Term("f1","second"); Term t3 = new Term("f1","another"); BooleanQuery.Builder q1 = new BooleanQuery.Builder();