Re: Data Import Blocker - Solr

2020-12-19 Thread Shawn Heisey

On 12/18/2020 12:03 AM, basel altameme wrote:

While trying to Import & Index data from MySQL DB custom view i am facing the 
error below:
Data Config problem: The value of attribute "query" associated with an element type 
"entity" must not contain the '<' character.
Please note that in my SQL statements i am using '<>' as an operator for 
comparing only.
sample line:
         when (`v`.`live_type_id` <> 1) then 100


These configurations are written in XML.  So you must encode the 
character using XML-friendly notation.


Instead of <> it should say <> to be correct.  Or you could use != 
which is also correct SQL notation for "not equal to".


Thanks,
Shawn


Re: CPU and memory circuit breaker documentation issues

2020-12-19 Thread Dmitri Maziuk

On 12/18/2020 11:26 AM, Walter Underwood wrote:
...

I’ll file a bug and submit a patch to use for larger batch of entries with data 
in the same format, . How do I fix the documentation?


CPU load may be good if your process is CPU-bound. If you're stuck on 
iowait in your $data filesystem and not "actively running", it's not 
clear that OperatingSystemMXBean.getSystemCPULoad() will account for 
that. IIRC load average will, so you may in fact be better off using 
that divided by number of cores (which you can also get from the bean).


Dima


Re: SPLITSHARD - data loss of child documents

2020-12-19 Thread David Smiley
https://issues.apache.org/jira/browse/SOLR-11191 and I assigned it to
myself just now.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


On Thu, Dec 17, 2020 at 9:50 AM Mike Drob  wrote:

> I was under the impression that split shard doesn’t work with child
> documents, if that is missing from the ref guide we should update it
>
> On Thu, Dec 17, 2020 at 4:30 AM Nussbaum, Ronen  >
> wrote:
>
> > Hi Everyone,
> >
> > We're using version 8.6.1 with nested documents.
> > I used the SPLITSHARD API and after it finished successfully, I've
> noticed
> > the following:
> >
> >   1.  Most of child documents are missing - before the split: ~600M,
> > after: 68M
> >   2.  Retrieving a document with its children, shows child documents that
> > do not belong to this parent (their parentID value is different than
> > parent's ID).
> >
> > I didn't see any limitation in the API documentation.
> > Do you have any suggestions?
> >
> > Thanks in advance,
> > Ronen.
> >
> >
> > This electronic message may contain proprietary and confidential
> > information of Verint Systems Inc., its affiliates and/or subsidiaries.
> The
> > information is intended to be for the use of the individual(s) or
> > entity(ies) named above. If you are not the intended recipient (or
> > authorized to receive this e-mail for the intended recipient), you may
> not
> > use, copy, disclose or distribute to anyone this message or any
> information
> > contained in this message. If you have received this electronic message
> in
> > error, please notify us by replying to this e-mail.
> >
>