Re: Deleting on exact match
On 6/21/2020 1:04 PM, Scott Q. wrote: 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 ? If it were me, I would probably set up a new core/collection with any config changes you want to make and reindex into the new location from scratch. Then once the new index is available, you can switch your application to it and completely delete the old one. Thanks, Shawn
Re: Deleting on exact match
I would add a new field with the new behavior. Then any document with content in the new field would not need to be deleted. Find the deletable content with: *:* -new_field:* I generally add a field that records when the document was indexed or updated. That can be really handy. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jun 21, 2020, at 12:32 PM, Scott Q. wrote: > > 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 ?
Re: Deleting on exact match
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 ?
Re: Deleting on exact match
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 ?
Deleting on exact match
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 ?