<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 12/4/2018 10:40 AM, Joan Moreau via dovecot wrote:<br>
<blockquote type="cite"
cite="mid:1c50812b413d62d04c03200fe65598bf@grosjo.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>In the Wiki, ( <a
href="https://wiki.dovecot.org/Plugins/FTS/Solr"
moz-do-not-send="true">https://wiki.dovecot.org/Plugins/FTS/Solr</a>
), it would nice to stipulate to the reader to type the command
:</p>
<p>sudo -u solr /opt/solr/bin/solr create -c dovecot # to create
the dovecot instance</p>
<p>before updating the schema.xml .</p>
<p>Also, schema.xml is in /opt/solr/server/solr/dovecot/conf for
archlinux users</p>
<p>Additionaly, the url is <a href="http://(solr"
moz-do-not-send="true">http://(solr_</a>server):8983/solr/dovecot/
(error in wiki)</p>
<div id="signature"> </div>
</blockquote>
<p>After installing Solr, wherever the installation sets up there
should a folder similar to:</p>
<p><your prefix>/solr/server/solr/configsets<br>
</p>
<p>If you look there, you'll probably see folders like '_default'
and 'sample_techproducts_configs'. I haven't played with the
'techproducts' sample. Copy the '_default' folder, with all its
contents, to a 'dovecot' folder. In the new dovecot folder,
replace the 'managed-schema' file with the file from the Dovecot
Wiki</p>
<p>
<a class="moz-txt-link-freetext" href="https://wiki.dovecot.org/Plugins/FTS/Solr?action=AttachFile&do=view&target=solr-7.x-schema.xml">https://wiki.dovecot.org/Plugins/FTS/Solr?action=AttachFile&do=view&target=solr-7.x-schema.xml</a></p>
<p>after that, you should be able to run 'solr /opt/solr/bin/solr
create -c dovecot' to create the instance. If things still don't
work let us know.</p>
<p>The schema is one I've tweaked and updated during my own
migrations since Solr 3.3. It's possible there's something else
in my config that needs documenting - but having experienced Solr
search against my mailstore I never want to be without it.<br>
</p>
<pre class="moz-signature" cols="72">Daniel
</pre>
</body>
</html>