Re: strdist on nested doc field

2018-01-15 Thread Mikhail Khludnev
On Tue, Jan 16, 2018 at 10:30 AM, Dariusz Wojtas wrote: > Hello Mikhail, > > I've tried it and the query executes, but it does not treat strdist() as a > function to execute. > Looks like each part of the function - it's name and parameters - are > treated as keywords to

Re: Parallelizing queries without Custom Component

2018-01-15 Thread Mikhail Khludnev
It's also can be done with {!join .. score=max}... but this join is usually slow on big indices. On Mon, Jan 15, 2018 at 7:27 PM, Max Bridgewater wrote: > Hi, > > My index is composed of product reviews. Each review contains the id of the > product it refers to. But

Re: strdist on nested doc field

2018-01-15 Thread Dariusz Wojtas
Hello Mikhail, I've tried it and the query executes, but it does not treat strdist() as a function to execute. Looks like each part of the function - it's name and parameters - are treated as keywords to search for against the default field. If I try something different: q=+firstName:Adam

RE: solr cluster: solr auto suggestion with requestHandler

2018-01-15 Thread Venkata MR
Any inputs on this really appreciated. Thanks & Regards Venkata MR +91 98455 77125 From: Venkata MR Sent: Tuesday, January 09, 2018 5:25 PM To: 'solr-user@lucene.apache.org' Cc: Deepak Udapudi ; Nareshkumar P Subject: solr

Re: Got unexpected results.

2018-01-15 Thread Sanjeet Kumar
Thanks, Erick! Please find the attached screenshot of this debug query (title:("to order this report"~0)). On Mon, Jan 15, 2018 at 10:21 PM, Erick Erickson wrote: > What do you see when you add =query? > > Best, > Erick > > On Mon, Jan 15, 2018 at 1:23 AM, Peter

Re: Got unexpected results.

2018-01-15 Thread Sanjeet Kumar
It would be nice if you explain what's wrong with *(*title*:("to order this report"~0)) *query*.* On Mon, Jan 15, 2018 at 2:53 PM, Peter Lancaster < peter.lancas...@findmypast.com> wrote: > Shouldn't the query just be something like title: "to order this report" > and then it will work. > > >

Re: strdist on nested doc field

2018-01-15 Thread Mikhail Khludnev
Hello, Dariusz. It should be something like q=+firstName:Adam +{!parent which=type:record v=$chq}=+type:address +strdist('Shakespeare', address.street, edit) post exception if it doesn't work. On Tue, Jan 16, 2018 at 1:39 AM, Dariusz Wojtas wrote: > Hi, > > Is it possible to

Re: cursorMark and Solrcloud

2018-01-15 Thread Shawn Heisey
On 1/15/2018 12:52 PM, Webster Homer wrote: When I don't have score in the sort, the solr_returned and count are the same I don't know what "solr_returned" means.  I haven't encountered that before, and nothing useful turns up in a google search. If you're getting different numFound values

Re: PayloadScoreQuery always returns score of zero

2018-01-15 Thread Chris Hostetter
what does your full request, including the results block look like when you search on one of these queries with "fl=*,score" ? I'm suspicios that perhaps the problem isn't the payload encoding, or the PayloadScoreQuery -- but perhaps it's simply a bug in the Explanation produced by those

strdist on nested doc field

2018-01-15 Thread Dariusz Wojtas
Hi, Is it possible to use the strdist() function to return distance on the child document field? Let's say I have: 1 record Adam A1 address business Shakespeare A2 address correspondence Baker Street What I want to do is to search for

Re: cursorMark and Solrcloud

2018-01-15 Thread Erick Erickson
bq: When I don't have score in the sort, the solr_returned and count are the same. Hmmm, I don't know the inner workings of cursor mark all that well. But can you tell what the score of one of the omitted documents is and how it compares against the score of the mark returned on the previous

Adding a child doc incrementally

2018-01-15 Thread S G
Hi, We have a use-case where a single document can contain thousands of child documents. However, I could not find any way to do it incrementally. Only way is to read the full document from Solr, add the new child document to it and then re-index the full document will all of its child documents

Re: cursorMark and Solrcloud

2018-01-15 Thread Webster Homer
When I don't have score in the sort, the solr_returned and count are the same On Mon, Jan 15, 2018 at 1:50 PM, Webster Homer wrote: > The problem is that the cursor mark query returns different numbers of > documents each time it is called when the collection has

Re: cursorMark and Solrcloud

2018-01-15 Thread Webster Homer
The problem is that the cursor mark query returns different numbers of documents each time it is called when the collection has multiple replicas per shard. I meant collection. The same collection is on different clouds. The collection in one cloud 1 has 2 shards with 1 replica per shard. In the

Re: cursorMark and Solrcloud

2018-01-15 Thread Shawn Heisey
On 1/15/2018 11:56 AM, Webster Homer wrote: I have noticed strange behavior using cursorMark for deep paging in an application. We use solrcloud for searching. We have several clouds for development. For our development systems we have two different clouds. One cloud has 2 shards with 1 replica

cursorMark and Solrcloud

2018-01-15 Thread Webster Homer
I have noticed strange behavior using cursorMark for deep paging in an application. We use solrcloud for searching. We have several clouds for development. For our development systems we have two different clouds. One cloud has 2 shards with 1 replica per shard. All or our other clouds are set up

Re: Solr cloud upgrade from 5 to 6

2018-01-15 Thread Novin Novin
Thank you very much for your advise. I really appreciate. On Mon, 15 Jan 2018 at 16:51 Erick Erickson wrote: > No, Solr works hard to guarantee compatibility > one major revision back so any 6x version should > be able to work fine with any 5x version. > > A couple of

Re: Parallelizing queries without Custom Component

2018-01-15 Thread Max Bridgewater
Thanks Emir. Looks indeed like what I need. On Mon, Jan 15, 2018 at 11:33 AM, Emir Arnautović < emir.arnauto...@sematext.com> wrote: > Hi Max, > It seems to me that you are looking for grouping > https://lucene.apache.org/solr/guide/6_6/result-grouping.html < >

Re: Uncheck dataimport checkboxes by default

2018-01-15 Thread Daniel Carrasco
Thanks Erick, I'll take a look into the js. Greetings!! 2018-01-15 17:46 GMT+01:00 Erick Erickson : > Daniel: > > There's no preferences section in the admin UI. That said, it's > all angular js and the source is there wherever you unpacked > the package you could just

Re: Got unexpected results.

2018-01-15 Thread Erick Erickson
What do you see when you add =query? Best, Erick On Mon, Jan 15, 2018 at 1:23 AM, Peter Lancaster wrote: > Shouldn't the query just be something like title: "to order this report" and > then it will work. > > > -Original Message- > From: Sanjeet Kumar

Re: Solr cloud upgrade from 5 to 6

2018-01-15 Thread Erick Erickson
No, Solr works hard to guarantee compatibility one major revision back so any 6x version should be able to work fine with any 5x version. A couple of free bits of advice, worth what you pay for them: 1> don't just use your configs from 5x in 6x. Rather start with the stock 6x configs and

Re: Uncheck dataimport checkboxes by default

2018-01-15 Thread Erick Erickson
Daniel: There's no preferences section in the admin UI. That said, it's all angular js and the source is there wherever you unpacked the package you could just change it. There's no need to rebuild Solr etc BTW, the mail server is pretty aggressive about stripping attachments, your

Re: request for instructions to add a another solr node

2018-01-15 Thread Erick Erickson
NP, I was new at this once too ;). Erick On Mon, Jan 15, 2018 at 8:38 AM, Sushil K Tripathi wrote: > Hi Erick, > > > Thanks a lot for your help. > > > The port is a typo while writing email but i double checked the URL with > correct port. I am reinstalling the server

Re: request for instructions to add a another solr node

2018-01-15 Thread Sushil K Tripathi
Hi Erick, Thanks a lot for your help. The port is a typo while writing email but i double checked the URL with correct port. I am reinstalling the server and update you. In addition can you please confirm, after following the steps you mentioned, index data and replication used to

Re: Parallelizing queries without Custom Component

2018-01-15 Thread Emir Arnautović
Hi Max, It seems to me that you are looking for grouping https://lucene.apache.org/solr/guide/6_6/result-grouping.html or field collapsing https://lucene.apache.org/solr/guide/6_6/collapse-and-expand-results.html

Parallelizing queries without Custom Component

2018-01-15 Thread Max Bridgewater
Hi, My index is composed of product reviews. Each review contains the id of the product it refers to. But it also contains a rating for this product and the number of negative feedback provided on this product. { id: solr doc id, rating: number between 0 and 5, product_id: the product

Re: Mixing simple and nested docs in same update?

2018-01-15 Thread Jan Høydahl
Radio silence… Here is a GIST for easy reproduction. Is this by design? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 11. jan. 2018 kl. 00:42 skrev Jan Høydahl : > > Hi, > > We index several large nested documents. We found that querying

Re: Solr server configuration

2018-01-15 Thread Emir Arnautović
Hi Deepak, Here is another blog post containing some thought how it can be estimated. http://www.od-bits.com/2018/01/solrelasticsearch-capacity-planning.html HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly

Announcing the OpenMinTED Open Tender Phase II Funding opportunity for text mining/IR developers

2018-01-15 Thread Martin Krallinger
*Announcing the OpenMinTED Open Tender Phase II Funding opportunity for information retrieval technology developers* (Apologies for cross-posting) OpenMinTED (openminted.eu) Open Tender Phase II Funding Award for information retrieval, machine learning and text preprocessing technologies

Re: How to implement the function of W/N in Solr?

2018-01-15 Thread Atita Arora
Did you give Proximity Search a try ? On Mon, Jan 15, 2018 at 1:34 PM, xizhen.w...@incoshare.com < xizhen.w...@incoshare.com> wrote: > Hello, > > I'm using Solr 4.10.3, and I want "A" and "B" are together, "C" and "D" > are together, and the terms "B" and "C" are no more than 3 terms away from

Uncheck dataimport checkboxes by default

2018-01-15 Thread Daniel Carrasco
Hello, My question is just what I've summarized on the subject: Is there any way to change the default state of the checkboxes on dataimport admin page? I want to change the default state of the "clean" checkbox to uncheck because sometimes I import incremental data and I forgot to uncheck that

How to implement the function of W/N in Solr?

2018-01-15 Thread xizhen.w...@incoshare.com
Hello, I'm using Solr 4.10.3, and I want "A" and "B" are together, "C" and "D" are together, and the terms "B" and "C" are no more than 3 terms away from each other, by using {!surround} 3w("A B", "C D"), but it doesn't work. Is there any other useful way? Any help is appreciated.

Solr cloud upgrade from 5 to 6

2018-01-15 Thread Novin Novin
Hi Guys, I would need a piece of advise about upgrading solr cloud. Would I need to re-index data If upgrade Solr cloud from 5.5.4 to 6.6.2? Thanks in advance. Navin

RE: Got unexpected results.

2018-01-15 Thread Peter Lancaster
Shouldn't the query just be something like title: "to order this report" and then it will work. -Original Message- From: Sanjeet Kumar [mailto:sanjeetkumar...@gmail.com] Sent: 15 January 2018 06:20 To: solr-user@lucene.apache.org Subject: Got unexpected results. Hi, I am using

[ANNOUNCE] Apache Solr 7.2.1 released

2018-01-15 Thread jim ferenczi
15 January 2018, Apache Solr™ 7.2.1 available The Lucene PMC is pleased to announce the release of Apache Solr 7.2.1 Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting,

Partial results from streaming expressions (i.e. making them "stream")

2018-01-15 Thread Radu Gheorghe
Hello fellow solr-users! Currently, if I do an HTTP request to receive some data via streaming expressions, like: curl --data-urlencode 'expr=search(test, q="foo_s:*", fl="foo_s", sort="foo_s