When the zoie-solr plugin is installed with your Solr instance, you still need to update as usual to Solr. It doesn't have any special hooks to "pull from a DB" or anything, you still index and search solr as usual.
-jake
thanks for your reply. do you mean I should write a service or other
to trigger update event periodically? I want it can update automatic,
is there other solution?
there is other question. in my solrconfig,xml.
if there are multi tables(mysql) need to be indexed, every table have
<uniqueKey>id</uniqueKey> <!-- mysql table primary
key -->
a primary key. how to set the uniquekey at solrconfig.xml?
The solr-ra company has hack the solr,It seems more effected to
visible as soon as possible..
when some document update ,it will open a new reader ,change the
searcher 's reader,so the currentSearcher can get the lastest reader .
On 2010年4月26日, 下午2时41分, John Wang <john.w...@gmail.com> wrote:
> Ok, so I gave a try to the autocommit implementation and failed miserably!
> The problem is that the solr caches searchers, not readers! This is really
> bad, so creation of the searcher is really slow, and cannot handle the
> update load zoie is able to handle.
>
> I will look more into how to hack solr. But not very optimistic at this
> point.
>
> -John
>
>
>
>
>
>
>
>
>
> On Sat, Apr 24, 2010 at 11:08 PM, John Wang <john.w...@gmail.com> wrote:
> > zoie-solr plugin does not work with Solr multi-core, see:
> >https://issues.apache.org/jira/browse/SOLR-1807
>
> > <https://issues.apache.org/jira/browse/SOLR-1807>-John
>
> > On Sat, Apr 24, 2010 at 8:43 PM, Jake Mannix <jake.man...@gmail.com>wrote:
>
> >> On Sat, Apr 24, 2010 at 6:13 PM, think <gospelan...@gmail.com> wrote:
>
> >>> there is other question. in my solrconfig,xml.
>
> >>> <uniqueKey>id</uniqueKey> <!-- mysql table primary
> >>> key -->
>
> >>> if there are multi tables(mysql) need to be indexed, every table have
> >>> a primary key. how to set the uniquekey at solrconfig.xml?
>
> >> Each Zoie instance can only have *one* unique key. If you need to
> >> index multiple tables with zoie-solr, you need to set up Solr with
> >> "multi-core" support, and have each table in a separate solr-core.
>
> >> -jake
>
> >>> <uniqueKey>id1</uniqueKey> <!-- mysql table1
> >>> primary key id1 -->
> >>> <uniqueKey>id2</uniqueKey> <!-- mysql table2
> >>> primary key id2 -->
> >>> <uniqueKey>id3</uniqueKey> <!-- mysql table3
> >>> primary key id3 -->
>
> >>> is it right?
>
> >>> Jake Mannix wrote:
> >>> > When the zoie-solr plugin is installed with your Solr instance, you
> >>> still
> >>> > need to update as usual to Solr. It doesn't have any special hooks to
> >>> > "pull from a DB" or anything, you still index and search solr as usual.
>
> >>> > -jake
>
On Dec 16, 12:31 pm, John Wang <john.w...@gmail.com> wrote:
> +Zoie mailing list
>
> What is Solr-RA?
>
> -John
>
> 2011/12/15 genuine <yzygenu...@gmail.com>
On Dec 16, 12:31 pm, John Wang <john.w...@gmail.com> wrote:
> +Zoie mailing list
>
> What is Solr-RA?
>
> -John
>
> 2011/12/15 genuine <yzygenu...@gmail.com>