Re: [EXTERNAL] Re: How to merge child documents using DataImportHandler

2018-05-27 Thread David M Giannone
? Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone Original message From: Mikhail Khludnev Date: 5/27/18 3:23 PM (GMT-05:00) To: solr-user Subject: [EXTERNAL] Re: How to merge child documents using DataImportHandler Hello, Abhijit. Have you tried to drop some of

Re: Slower queries with 7.3.1?

2018-05-27 Thread Will Currie
Thanks Deepak. I think I understand the cause of the slowdown. There are some flamegraphs (from stack sampling) on SOLR-12407. I also captured some traces using yourkit. On Sun, May 27, 2018 at 1:21 PM, Deepak Goel wrote: > Is it possible to profile the code to find the exact points which are >

Re: How to merge child documents using DataImportHandler

2018-05-27 Thread Abhijit Pawar
Hi Mikhail, Yes I already tried that dropping child=true for skupricelist document. However then it does not index data from that collection at all. I need it as I am inheriting some properties from skus collection and some from attributevalues and attributenames collection. Also here data from

Re: delta-update alternative on filechanges when using FileListEntityProcessor

2018-05-27 Thread Alexandre Rafalovitch
The best practice is not to use DIH in production. It is great for several rounds of prototyping but then things get messy and uneven as you found. The delete logic is always extra messy. So, this may be a good point to switch to an external client and implement the monitoring logic there. Regard

Re: How to merge child documents using DataImportHandler

2018-05-27 Thread Mikhail Khludnev
Hello, Abhijit. Have you tried to drop some of child=true? They usually cause slicing to separate documents, rather than default "merge to root" mode. On Sun, May 27, 2018 at 9:48 PM, Abhijit Pawar wrote: > ​​ > Hello, > > I am using DataImportHandler to index data from mongoDB. > > Here's how m

How to merge child documents using DataImportHandler

2018-05-27 Thread Abhijit Pawar
​​ Hello, I am using DataImportHandler to index data from mongoDB. Here's how my data-source-config file looks like: entityA(Root Entity) - *products* entityB (child=true,pk=unique field) - *skus* entityC - *attributevalues* entityD - *attributenames* entityE(c

delta-update alternative on filechanges when using FileListEntityProcessor

2018-05-27 Thread Thomas Lustig
I configured a DataImportHandler using a FileListEntityProcessor to import files from a folder. This setup works really great, but i do not now how i should handle changes on the filesystem (e.g. files added, deleted,...) Should I always do a "full-import"? As far as i read "delta-import" is only s

Weird behavioural differences between pf in dismax and edismax

2018-05-27 Thread Sambhav Kothari
Hello, I experienced a weird behaviour with dismax and edismax query parsers. Dismax will include pf boosts when we query something that has just a single word, edismax on the other hand will not include pf boosts. The result is that a dismax and an edismax handler with the same set of defaults,