You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2017/10/27 20:21:01 UTC
[jira] [Updated] (SOLR-8628) When Solr finds an existing empty
index dir, instead of creating a new index, it complains about not finding
a segments file.
[ https://issues.apache.org/jira/browse/SOLR-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Heisey updated SOLR-8628:
-------------------------------
Attachment: solr-8628-for-lucene.patch
I strongly believe this should be fixed in Lucene, not Solr.
The attached patch seems to fix the problem. I do not know if the fix I've created is acceptable to those who really know Lucene's internals. If it's not, I would be interested in knowing how it should be fixed.
> When Solr finds an existing empty index dir, instead of creating a new index, it complains about not finding a segments file.
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-8628
> URL: https://issues.apache.org/jira/browse/SOLR-8628
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Attachments: solr-8628-for-lucene.patch
>
>
> It's not the most normal situation, but it doesn't make sense to fail in this case. The index doesn't exist, let's make it, existing empty index dir or not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org