Re: NullPointerException in Graph Traversal nodes streaming expression

2021-01-21 Thread Mike Drob
Can you provide a sample expression that would be able to reproduce this? Are you able to try a newer version by chance - I know we've fixed a few NPEs recently, maybe https://issues.apache.org/jira/browse/SOLR-14700 On Thu, Jan 21, 2021 at 4:13 PM ufuk yılmaz wrote: > Solr version 8.4. I’m

NullPointerException in Graph Traversal nodes streaming expression

2021-01-21 Thread ufuk yılmaz
Solr version 8.4. I’m getting an unexplanetory NullPointerException when executing a simple 2 level nodes stream, do you have any idea what may cause this? I tried setting /stream?partialResults=true=true and shards.tolerant=true in nodes expressions, with no luck. I also tried reading source

Re: Events on updating documents

2021-01-21 Thread Walter Underwood
Solr is not a database. I strongly recommend that you NOT use it as a data store. You will lose data. Solr does not have transactions. Don’t think of a Solr “commit” as a database commit. It is a command to start indexing the queued updates. It does not even attempt to meet ACID properties.

Re: DIH

2021-01-21 Thread dmitri maziuk
On 2021-01-20 6:26 PM, Joshua Wilder wrote: Please reconsider the removal of the DIH from future versions. The repo it's been moved to is a ghost town with zero engagement from Rohit (or anyone). Not sure how 'moving' it caused it to now only support MariaDB but that appears to be the case. The

Re: Exact matching without using new fields

2021-01-21 Thread Alexandre Rafalovitch
If, during index time, your "information" and "informed" are tokenized into the same root (inform?), then you will not be able to distinguish them without storing original forms somewhere, usually with copyField. Same with information vs INFORMATION. The search happens based on indexed tokens.

Re: Exact matching without using new fields

2021-01-21 Thread Doss
Hi, You can try search query -> "+information +retrieval" Meaning the document should have both the keywords. Doc 5 will also be in the results. https://lucene.apache.org/solr/guide/8_7/the-standard-query-parser.html#the-boolean-operator - Mohandoss. On Wed, Jan 20, 2021 at 1:38 AM gnandre

Re: read/write on different node?

2021-01-21 Thread Doss
Hi, Master/Slave concept is not there in SolrCloud, but similar thing we can achive by choosing TLOG + PULL replicas, where writes will happen in TLOG nodes and the PULL replicas gets the updated segments. Ensure minimum 2 TLOG nodes as PULL replica notes can't became leader of a shard. You can

How to change the JVM Threads of SolrCloud

2021-01-21 Thread Issei Nishigata
Hello All, I'm running SolrCloud(1 shard,9 replicas) on Amazon EKS. The other day, when I accidentally stopped CoreDNS of EKS, the entire Solr cluster went down due to the inability to resolve names of each node. I restarted CoreDNS shortly afterwards, but the Solr node just repeated down and

Re: read/write on different node?

2021-01-21 Thread Luke Oak
Thanks Mohandoss, It is realtime inserting and updating if a query is executed. My environment is three nodes, 3 shards and 2 replicas. I noticed there was master slave mode in the old version, but for solr cloud, I don’t know whether it is doable. Derrick Sent from my iPhone > On Jan

RE: Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-21 Thread ufuk yılmaz
Looked at the source code of the parallel stream and it seems I need equal number of SHARDS and workers count parameter. I thought I needed as many replicas, it was shards. Maybe helps someone. Sent from Mail for Windows 10 From: ufuk yılmaz Sent: 21 January 2021 11:16 To:

Re: Queries Regarding Cold searcher

2021-01-21 Thread Parshant Kumar
Adding more queries :- Do value(true or false) of cold searcher play any role during the completion of replication on slave server.If not please tell in which process in solr its applied? On Thu, Jan 21, 2021 at 3:11 PM Parshant Kumar wrote: > Hi all, > > Please help me in below queries: > >

RE: Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-21 Thread ufuk yılmaz
It only works when I set workers to 1, which defeats the point of parallel. Sent from Mail for Windows 10 From: ufuk yılmaz Sent: 21 January 2021 11:16 To: solr-user@lucene.apache.org Subject: Parallel streaming expression java.lang.IndexOutOfBoundsException Hello all,

Queries Regarding Cold searcher

2021-01-21 Thread Parshant Kumar
Hi all, Please help me in below queries: 1) what is the impact of making cold searcher false,true? 2)After full replication completion of data on slave server, new searcher is opened or not? 3)If opensearcher is false in autocommit and cold searcher is true , what does this conclude , Is their

Parallel streaming expression java.lang.IndexOutOfBoundsException

2021-01-21 Thread ufuk yılmaz
Hello all, https://lucene.apache.org/solr/guide/8_4/stream-decorator-reference.html#parallel I’m sending the same query in the docs, (just collection names changed) to my Solr but always getting the exception: { "result-set":{ "docs":[{

Re: read/write on different node?

2021-01-21 Thread Doss
Hi, You haven't shared information about your environment and how frequently you are commiting the changes, whether your user searching collection gets real time inserts / updates etc., but if you are not doing any real time analysis with the user query information, you can store the information

Events on updating documents

2021-01-21 Thread haris . khan
Hello, We at VNC are using Solr for search and as a data store. We have a use-case in which we want to hit a REST endpoint whenever documents are inserted, updated, or deleted in Solr with the documents under consideration as well. When exploring the Solr documentation, we found Event