<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/Metabase/Index/Solr.pm</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -33,8 +33,10 @@
        When using MoreLikeThis, fields used for similarity should be stored for 
        best performance.
    --&gt;
-   &lt;field name=&quot;guid&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; required=&quot;true&quot; /&gt;
-   &lt;field name=&quot;type&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;false&quot; required=&quot;true&quot; /&gt;
+   &lt;field name=&quot;core.guid_s&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;true&quot; required=&quot;true&quot; /&gt;
+   &lt;field name=&quot;core.type_s&quot; type=&quot;string&quot; indexed=&quot;true&quot; stored=&quot;false&quot; required=&quot;true&quot; /&gt;
+   &lt;field name=&quot;core.schema_version_i&quot; type=&quot;sint&quot; indexed=&quot;true&quot; stored=&quot;false&quot; required=&quot;true&quot; /&gt;
+   &lt;field name=&quot;core.created_at_i&quot; type=&quot;sint&quot; indexed=&quot;true&quot; stored=&quot;false&quot; required=&quot;true&quot; /&gt;
 &lt;!--
    &lt;field name=&quot;timestamp&quot; type=&quot;date&quot; indexed=&quot;true&quot; stored=&quot;true&quot; default=&quot;NOW&quot; multiValued=&quot;false&quot;/&gt;
 --&gt;
@@ -49,9 +51,9 @@
    &lt;dynamicField name=&quot;*_dt&quot; type=&quot;date&quot;    indexed=&quot;true&quot;  stored=&quot;false&quot;/&gt;
  &lt;/fields&gt;
 
- &lt;uniqueKey&gt;guid&lt;/uniqueKey&gt;
+ &lt;uniqueKey&gt;core.guid_s&lt;/uniqueKey&gt;
 
- &lt;defaultSearchField&gt;guid&lt;/defaultSearchField&gt;
+ &lt;defaultSearchField&gt;core.guid_s&lt;/defaultSearchField&gt;
 
  &lt;solrQueryParser defaultOperator=&quot;AND&quot;/&gt;
 </diff>
      <filename>solr/schema.xml</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ ok( my $archive = $TEST-&gt;test_archive, 'created archive' );
 isa_ok( $archive, 'Metabase::Archive::SQLite' );
 
 ok( my $index = $TEST-&gt;test_index, 'created an index' );
-isa_ok( $index, 'Metabase::Index::FlatFile' );
+isa_ok( $index, 'Metabase::Index::Solr' );
 
 ok( my $fact = $TEST-&gt;test_fact, &quot;created a fact&quot; );
 isa_ok( $fact, 'Metabase::Fact::TestFact' );</diff>
      <filename>t/index/flatfile.t</filename>
    </modified>
    <modified>
      <diff>@@ -52,12 +52,11 @@ has test_archive =&gt; (
 
 has test_index =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'Metabase::Index::FlatFile',
+  isa  =&gt; 'Metabase::Index::Solr',
   lazy =&gt; 1,
   default =&gt; sub {
-    require Metabase::Index::FlatFile;
-    Metabase::Index::FlatFile-&gt;new(
-      index_file =&gt; &quot;$temp_dir/store/metabase.index&quot;,
+    require Metabase::Index::Solr;
+    Metabase::Index::Solr-&gt;new(
     );
   },
 );</diff>
      <filename>t/lib/Test/Metabase/Util.pm</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1283ccd35a80d6ffffe0f253edb67f17aa25471c</id>
    </parent>
  </parents>
  <author>
    <name>Leon Brocard</name>
    <email>acme@astray.com</email>
  </author>
  <url>http://github.com/dagolden/metabase/commit/2085ad7a95b473873b8ad5f4472a0e47f3869ec1</url>
  <id>2085ad7a95b473873b8ad5f4472a0e47f3869ec1</id>
  <committed-date>2009-04-08T10:38:14-07:00</committed-date>
  <authored-date>2009-04-08T10:38:14-07:00</authored-date>
  <message>Add a new Solr indexer and update tests to use it</message>
  <tree>21b5f25ec105656c82309db74f00bc11146e057e</tree>
  <committer>
    <name>Leon Brocard</name>
    <email>acme@astray.com</email>
  </committer>
</commit>
