SpanFirst vs SpanEnd

2019-12-04 Thread Raboah, Avi
Hi, After deep diving into lucene code I found that, the SpanFirstQuery object just use the SpanPositionRangeQuery object with start position 0 and the given end position from the query. I am trying to implement the SpanEndQuery in the same way because the End position should be the last

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
AM To: solr-user@lucene.apache.org Subject: Re: Edismax bq(boost query) with filter range on score Hi Raboah, What do you mean by filter range? Please post expected result. Do you want to put an fq on the score? On Sun, 8 Dec 2019 at 17:54, Raboah, Avi wrote: > Hi, > > In order to

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
ith filter range on score I was just going to suggest you frange. You're already using it. Please post the whole query. Have you confirmed that by removing the frange, you are able to see the documents with score=1.0. On Mon, 9 Dec 2019 at 14:21, Raboah, Avi wrote: > That's right, > > I che

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
) with filter range on score I don't know if this inclusive works though I know that incl is for including the lower bound and incu is for including the upper bound. On Mon, 9 Dec 2019 at 16:49, Raboah, Avi wrote: > Thanks for your fast response! > > Without the frange I get all the

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
the documents with default score equal to 1.0 -Original Message- From: Raboah, Avi [mailto:avi.rab...@verint.com] Sent: Monday, December 09, 2019 2:09 PM To: solr-user@lucene.apache.org Subject: RE: Edismax bq(boost query) with filter range on score I am using solr 7.6.0 and I try to check

Edismax bq(boost query) with filter range on score

2019-12-08 Thread Raboah, Avi
Hi, In order to use solr boost mechanism for specific text I use the bq field under deftype=edisMax. For example - q=*:*=edisMax=text:"phrase"^3=*,score after I do this query I get the relevant documents boosted with the solr calculation score. Now my question is there a way to do a filter

RE: How to implement NOTIN operator with Solr

2019-11-19 Thread Raboah, Avi
- Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 19 Nov 2019, at 10:30, Raboah, Avi wrote: > > I am trying to find the documents which hit this example: > > q=text:"credit" NOTIN "credit card&quo

How to implement NOTIN operator with Solr

2019-11-19 Thread Raboah, Avi
I am trying to find the documents which hit this example: q=text:"credit" NOTIN "credit card" for that query I want to get all the documents which contain the term "credit" but not as part of the phrase "credit card". so: 1. I don't want to get the documents which include just "credit

RE: How to implement NOTIN operator with Solr

2019-11-19 Thread Raboah, Avi
ov 2019, at 11:08, Raboah, Avi wrote: > > In that case I got only doc1 > > -Original Message- > From: Emir Arnautović [mailto:emir.arnauto...@sematext.com] > Sent: Tuesday, November 19, 2019 11:51 AM > To: solr-user@lucene.apache.org > Subject: Re: How to implement

RE: how to add multiple value for a filter query in Solrj

2020-03-24 Thread Raboah, Avi
You can do something like that if we are talking on the same filter query name. addFilterQuery(String.format("%s:(%s %s)", filterName, value1, value2)); -Original Message- From: Szűcs Roland Sent: Tuesday, March 24, 2020 11:35 AM To: solr-user@lucene.apache.org Subject: how to add

Luke admin API return inconsistent result

2020-10-01 Thread Raboah, Avi
Hi All, We are using the Luke API in order to get all dynamic field names from our collection: /solr/collection/admin/luke?wt=csv=0 This worked fine in 6.2.1 but it's non deterministic anymore (8.6.1) - looks like it queries a random single shard. I've tried using