<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 9pt; font-family: Verdana,Geneva,sans-serif'>
<p>Other use case :</p>
<p>I type "must" in the search filed-> I have some returns , but very not all, for instance "solarmust" is not in the results</p>
<p>If I type "solarmust" -> then I have the solarmust mail</p>
<p>Honestly, this is highly unstable. Not sure whereas bugs come from Solr or Dovecot</p>
<p><br /></p>
<p>Below my adjusted (corrections from the one of Daniel who is definitely not working) schema.xml</p>
<p><br /></p>
<p><?xml version="1.0" encoding="UTF-8"?><br /><schema name="dovecot" version="2.0"><br /><uniqueKey>id</uniqueKey><br /><fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" multiValued="true"/><br /><fieldType name="gjlong" class="solr.LongPointField" positionIncrementGap="0"/><br /><fieldType name="gjtext" class="solr.TextField" autoGeneratePhraseQueries="true" positionIncrementGap="100"><br /><analyzer type="index"><br /><tokenizer class="solr.EdgeNGramTokenizerFactory" maxGramSize="15" minGramSize="3" /><br /><filter class="solr.WordDelimiterGraphFilterFactory" catenateNumbers="1" generateNumberParts="1" splitOnCaseChange="1" generateWordParts="1" splitOnNumerics="1" catenateAll="1" catenateWords="1" preserveOriginal="1"/><br /><filter class="solr.FlattenGraphFilterFactory"/><br /><filter class="solr.LowerCaseFilterFactory"/><br /><filter class="solr.RemoveDuplicatesTokenFilterFactory"/><br /></analyzer><br /><analyzer type="query"><br /><tokenizer class="solr.ClassicTokenizerFactory"/><br /><filter class="solr.LowerCaseFilterFactory"/><br /><filter class="solr.RemoveDuplicatesTokenFilterFactory"/><br /></analyzer><br /></fieldType><br /><fieldType name="string" class="solr.StrField"/><br /><field name="_version_" type="string" indexed="true" stored="true"/><br /><field name="bcc" type="string" indexed="false" stored="false"/><br /><field name="body" type="gjtext" indexed="true" stored="false"/><br /><field name="box" type="string" indexed="true" required="true" stored="true"/><br /><field name="cc" type="gjtext" indexed="true" stored="false"/><br /><field name="from" type="gjtext" indexed="true" stored="false"/><br /><field name="hdr" type="gjtext" indexed="false" stored="false"/><br /><field name="id" type="string" indexed="true" required="true" stored="true"/><br /><field name="subject" type="gjtext" indexed="true" stored="false"/><br /><field name="to" type="gjtext" indexed="true" stored="false"/><br /><field name="uid" type="string" indexed="true" required="true" stored="true"/><br /><field name="user" type="string" indexed="true" required="true" stored="true"/><br /></schema></p>
<p><br /></p>
<p><br /></p>
<div id="signature"> </div>
<p><br /></p>
<p id="reply-intro">On 2019-01-02 10:04, Joan Moreau wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="auto">
<div dir="auto"> </div>
<div dir="auto">The first result show "no results" in dovecot for any search by header (I typed an email add in RoundCube search box, using Dovecot as back end, using Solr as own backend)</div>
<div dir="auto"> </div>
<div dir="auto">So many efforts for crappy results.</div>
<div dir="auto"> </div>
<div dir="auto">Can't we really revive Squat ? It is 2 lines of config, and no single problems</div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div id="aqm-original" style="color: black;">
<div class="aqm-original-body" style="font-size: 9pt; font-family: verdana,geneva,sans-serif;">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">On January 2, 2019 08:16:33 Joan Moreau via dovecot <dovecot@dovecot.org> wrote:</p>
<blockquote class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<p>and the first line of the diff is :</p>
<p>< this file, see http://wiki.apache.org/solr/SolrConfigXml. <br />---<br />> this file, see http://wiki.apache.org/solr/SolrConfigXml.<br />38c38<br />< <luceneMatchVersion>6.4.1</luceneMatchVersion><br />---<br />> <luceneMatchVersion>7.5.0</luceneMatchVersion></p>
<div id="signature"> </div>
<p><br /></p>
<p>So, are you running 6.4.1 or 7.5.0 ????</p>
<p><br /></p>
<p id="reply-intro">On 2019-01-02 08:12, Joan Moreau wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>The real main differecne seems coming from "diffconfig.xml"</p>
<p>When I put yours, Solr delete (!) schema.xml and create a "manage-schema" and starts complaining about useless types (tdates, booleans, etc..) that are not needed for Mail fileds</p>
<p>When I put mine (from standard distribution of Arch), it keeps things as they are (yeah !), does not complains about those useless types and startup properly.</p>
<p>I attach my diffconfig</p>
<p><br /></p>
<p>But these are the configurations that one should adjust as per his/her own use.</p>
<p>The main problem is : After some time of indexing from Dovecot, Dovecot returns errors (invalid SID, etc...) and Solr return "out of range indexes" errors</p>
<p><br /></p>
<div id="signature"> </div>
<p><br /></p>
<p id="reply-intro">On 2019-01-02 07:49, Joan Moreau wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<p>Hi</p>
<p>Solr is a standard package in ArchLinux. ("pacman -S solr") . the systemd installation script is included (and it is launching /opt/solr/bin/solr.in.sh)</p>
<p>Instance : sudo -u solr /opt/solr/bin/solr create -c dovecot -> this creates a separate folder with default solrconfig.xml, schema.xml, etc..</p>
<p>I made a symlink of the data folder to a second drive (ext4) much bigger</p>
<p><br /></p>
<p><br /></p>
<p><br /></p>
<div id="signature"> </div>
<p><br /></p>
<p id="reply-intro">On 2018-12-31 14:09, Daniel Miller wrote:</p>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace;"><span style="white-space: nowrap;">On 12/29/2018 4:49 PM, Joan Moreau wrote:</span>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;"><br /><span style="white-space: nowrap;">Also :</span><br /><br /><span style="white-space: nowrap;">- Java is 10.0.2</span><br /><br /></blockquote>
<span style="white-space: nowrap;">Same as me.</span>
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;"><br />- If i delete schema.xml but create only managed-schema, the solr refuses to start with a java error "schema.xml missing"<br /><br /></blockquote>
<span style="white-space: nowrap;">Ok...so we need to do some more digging.</span><br /><br />How did you install Solr? (I downloaded a "binary" installation and unpacked it)<br /><br />How did you create the dovecot instance?  (I've provided explicit instructions for how I did it - did you follow those exactly or something different)?<br /><br />How are you starting Solr?  (I use the provided "solr/bin/solr start" command, wrapped inside a systemd service).<br /><br /><span style="white-space: nowrap;">--</span><br />Daniel<br /><br /><br /></div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
</div>
</div>
<div dir="auto"> </div>
</div>
</blockquote>
</body></html>