<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 21/01/14 16:23, Ian Stuart wrote:<br>
    </div>
    <blockquote cite="mid:52DE9F1E.6000502@ed.ac.uk" type="cite">
      <pre wrap="">On 21/01/14 16:17, Sebastien Francois wrote:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">Also how stuff is searched/indexed is defined in the metafield classes
(e.g. look at MetaField/Email::get_index_codes) - look what's in your
foo__rindex table to see what has been indexed.
</pre>
          </blockquote>
          <pre wrap="">Nope - of type text.
how does one create an indexed field?

{ name =&gt; "email", type =&gt; "text", required =&gt; 1, text_index =&gt; 1 }
</pre>
        </blockquote>
        <pre wrap="">
Correct - "text_index" is not even needed since MetaField/Text.pm sets
"text_index" to true by default.
</pre>
      </blockquote>
      <pre wrap="">Hmmm.... so what creates the index table?

I've restarted the web server, run

~/eprints/bin/epadmin update_database_structure broker

and restarted the indexer

... but I'm not seeing postcards__rindex as a table (postcards &amp; 
postcards__ordervalues_en.... but neither __rindex or __index tables

</pre>
    </blockquote>
    EPrints does - it may be that your dataset is not set as "indexable"
    which would explain why you're missing the __*index* tables - does
    your dataset definition contains a "index" =&gt; 1 property, as per
    this example:<br>
    <br>
    <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user =&gt; {</tt><tt><br>
    </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sqlname =&gt; "user",</tt><tt><br>
    </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class =&gt; "EPrints::DataObj::User",</tt><tt><br>
    </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; import =&gt; 1,</tt><tt><br>
    </tt><b><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index =&gt; 1,</tt></b><tt><br>
    </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datestamp =&gt; "joined",</tt><tt><br>
    </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</tt><br>
    <br>
    <br>
    ??<br>
    <br>
    Seb<br>
  </body>
</html>