Deleting on exact match

2020-06-21 Thread Scott Q.
Hello,

I use Solr with Dovecot and I made a mistake when I initially created
my schema for my instance. I created the username field with partial
matches enabled.
Aka, like this:





  
        
                
                
                
                
                
                
                
        
        
                
                
                
                
                
                
                
        
  





I already indexed millions of documents using this schema before I
fixed it and changed it to








The task at hand is to remove all documents indexed the old way, but
how can I do that ? user is of the form u...@domain.com and if I
search for u...@domain.com it matches all of 'user' or 'domain.com'
which has obvious unwanted consequences.

Therefore, how can I remove older documents which were indexed with
partial match ? 


Re: Deleting on exact match

2020-06-21 Thread Scott Q.
My apologies, it appears the configuration tags were escaped and
completely removed from my original e-mail.

I am including them via pastebin.com


https://pastebin.com/BSUqgEke




On Sunday, 21/06/2020 at 15:04 Scott Q. wrote:


Hello,

I use Solr with Dovecot and I made a mistake when I initially created
my schema for my instance. I created the username field with partial
matches enabled.
Aka, like this:





  
        
                
                
                
                
                
                
                
        
        
                
                
                
                
                
                
                
        
  





I already indexed millions of documents using this schema before I
fixed it and changed it to








The task at hand is to remove all documents indexed the old way, but
how can I do that ? user is of the form u...@domain.com and if I
search for u...@domain.com it matches all of 'user' or 'domain.com'
which has obvious unwanted consequences.

Therefore, how can I remove older documents which were indexed with
partial match ? 


Re: Deleting on exact match

2020-06-21 Thread Scott Q.
Also note that I didn't apply the new schema yet because I don't
think it will let me change it mid-way like this without deleting all
data and starting anew...

On Sunday, 21/06/2020 at 15:12 Scott Q. wrote:


My apologies, it appears the configuration tags were escaped and
completely removed from my original e-mail.

I am including them via pastebin.com


https://pastebin.com/BSUqgEke




On Sunday, 21/06/2020 at 15:04 Scott Q. wrote:


Hello,

I use Solr with Dovecot and I made a mistake when I initially created
my schema for my instance. I created the username field with partial
matches enabled.
Aka, like this:





  
        
                
                
                
                
                
                
                
        
        
                
                
                
                
                
                
                
        
  





I already indexed millions of documents using this schema before I
fixed it and changed it to








The task at hand is to remove all documents indexed the old way, but
how can I do that ? user is of the form u...@domain.com and if I
search for u...@domain.com it matches all of 'user' or 'domain.com'
which has obvious unwanted consequences.

Therefore, how can I remove older documents which were indexed with
partial match ? 


Javascript pre-processing

2020-09-11 Thread Scott Q.
I need to pre-process my data using Javascript, but I will need to
make use of a JS library in order to accomplish this. Can I include
other JS files in my pre-process script ? If so, how ?


Unable to finish sending updates - Solr 8.5.0

2020-11-04 Thread Scott Q.
I am seeing the same error as in this thread:


http://mail-archives.apache.org/mod_mbox/lucene-solr-user/202004.mbox/
[1]


with Solr 8.5.0


2020-11-04 16:58:00.998 WARN  (qtp335107734-3042730) [c:dovecot
s:shard1 r:core_node44 x:dovecot_shard1_replica_n43]
o.a.s.u.SolrCmdDistributor Unable to finish sending updates => java.io
[2].IOException: Task queue processing has stalled for 20138 ms with 0
remaining elements to process.
        at
org.apache.solr.client.solrj.impl.ConcurrentUpdateHttp2SolrClient.blockUntilFinished(ConcurrentUpdateHttp2SolrClient.java:501
[3])




Does anyone know what's causing this ?
This is a 4 node Cloud setup with 4 zookeeper instances


Links:
--
[1]
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/202004.mbox/%3csn6pr02mb42860fedb0f0a5958f35568fcd...@sn6pr02mb4286.namprd02.prod.outlook.com%3E
[2] http://java.io
[3] http://ConcurrentUpdateHttp2SolrClient.java:501