Trying to use solr
r_f at med-lo.eu
r_f at med-lo.eu
Sun Jul 26 12:48:47 EEST 2020
__
Francis Augusto Medeiros-Logeay
francis at francisaugusto.com
Mobile: +47 45 17 14 91
Oslo, Norway
Sent from a mobile device / Enviado a partir de dispositivo móvel
> On 24 Jul 2020, at 19:34, Shawn Heisey <elyograg at elyograg.org> wrote:
>
> On 7/22/2020 11:13 AM, Francis Augusto Medeiros-Logeay wrote:
>> On Solr I get this error:
>> org.apache.solr.common.SolrException: Exception writing document id 210/9fd7941e8297d25d91600000c3fdd3da/francis at francisaugusto.com <mailto:210/9fd7941e8297d25d91600000c3fdd3da/francis at francisaugusto.com> to the index; possible analysis error: cannot change field "box" from index options=DOCS_AND_FREQS_AND_POSITIONS to inconsistent index options=DOCS
> <snip>
>> Parallel to this, I got some log messages on Solr before attempting to reindex the user (sorry for the garbadged text:
>> Time (Local) Level Core Logger Message
> <snip>
>> 7/22/2020, 6:43:46 PM ERROR false x:dovecot RequestHandlerBase java.lang.IllegalStateException: Type mismatch: uid was indexed as SORTED_NUMERIC
>
> These errors are a LOT longer than what we see here. It appears that you are showing us what you can see in the logging tab of the admin UI ... you will see far more detail if you find the solr.log file and get information from there. Full detail can be seen on a single log entry in the admin UI by clicking on the little "i" icon, but it will close again *VERY* quickly, so that's not a very reliable option.
>
> The full detail is usually required for deciphering log messages.
>
> As for the source of the problem ... these look like the kind of errors that can be encountered if you complete some indexing with one schema, then change the schema without deleting the existing index, restart/reload, and try to index more data. Most changes to the schema will require full reindexing, and some changes require actually deleting the index directory entirely and allowing it to be rebuilt. In some rare cases, upgrading Solr *might* result in a change to the schema that requires deleting the index even though the schema config file itself is the same. I do not know if your setup is one that would be affected in this way.
>
> https://cwiki.apache.org/confluence/display/solr/HowToReindex
>
> Your question is more appropriate for the solr-user mailing list at Apache than this list ... but I did not expect you to know that in advance. I can try to help you.
Thanks a lot Shawn. I will send the full error when I get home a week from now. But this was my first attempt to use solr - is it still subject to those conflicts?
Best,
Francis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200726/c8ef7a0f/attachment.html>
More information about the dovecot
mailing list