Re: boosting query howto?

2014-08-04 Thread Bernd Fehling
Hi Jörg, thanks for the advise, it seams to be my solution. Are there any API javadocs for ES? It takes me 3 to 4 times longer writing something for ES than for Solr because of searching through the sources and no useful javadocs. Bernd Am Freitag, 1. August 2014 16:07:10 UTC+2 schrieb Jörg

Re: boosting query howto?

2014-08-04 Thread Bernd Fehling
Now this is strange, I have same mapping/settings for both ES and Solr, but ES ist boosting wrong!!! If I add a boost to Solr all boosted hits are listed first. If I add the same boost to ES only some of the boosted hits are listed first. Bernd Am Montag, 4. August 2014 08:13:10 UTC+2 schrieb

Re: boosting query howto?

2014-08-04 Thread joergpra...@gmail.com
Yes, missing Javadoc online is a pity. So I have prepared a javadoc for Elasticsearch 1.3.1 here http://xbib.org/elasticsearch/1.3.1/apidocs/ Jörg On Mon, Aug 4, 2014 at 8:13 AM, Bernd Fehling bernd.fehl...@gmail.com wrote: Hi Jörg, thanks for the advise, it seams to be my solution. Are

Re: boosting query howto?

2014-08-04 Thread Bernd Fehling
Thanks a lot. +1 This MUST be on the ES Web page. Am Montag, 4. August 2014 14:00:59 UTC+2 schrieb Jörg Prante: Yes, missing Javadoc online is a pity. So I have prepared a javadoc for Elasticsearch 1.3.1 here http://xbib.org/elasticsearch/1.3.1/apidocs/ Jörg On Mon, Aug 4, 2014 at

Re: boosting query howto?

2014-08-04 Thread Ivan Brusic
Javadocs also available at http://jenkins.elasticsearch.org/job/Elasticsearch%20Master%20Branch%20Javadoc/Elasticsearch_API_Documentation/ http://javadoc.kyubu.de/elasticsearch/ (unofficial) -- Ivan On Mon, Aug 4, 2014 at 5:28 AM, Bernd Fehling bernd.fehl...@gmail.com wrote: Thanks a lot.

boosting query howto?

2014-08-01 Thread Bernd Fehling
I tried the following query { fields: [ score, title, price ], boosting: { positive: { term: { text: einzelhandel } }, negative: { term: { price: 100 } }, negative_boost: 0.0025, boost: 200 } } What I'm trying

Re: boosting query howto?

2014-08-01 Thread joergpra...@gmail.com
Have you tried boosting boolean query clauses? http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_boosting_query_clauses.html Jörg On Fri, Aug 1, 2014 at 2:39 PM, Bernd Fehling bernd.fehl...@gmail.com wrote: I tried the following query { fields: [ score, title,