Ok, I got it, thanks

2012/10/17 Alexandre Rafalovitch <arafa...@gmail.com>

> Yes, just make sure you have it in the scheme. Solr handles the rest.
>
> Regards,
>    Alex.
> Personal blog: http://blog.outerthoughts.com/
> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
> - Time is the quality of nature that keeps events from happening all
> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
> book)
>
>
> On Wed, Oct 17, 2012 at 12:57 PM, Jun Wang <wangjun...@gmail.com> wrote:
> > Is that said we just need to add this filed, and there is no more work?
> >
> > 2012/10/17 Rafał Kuć <r....@solr.pl>
> >
> >> Hello!
> >>
> >> It is used internally by Solr, for example by features like partial
> >> update functionality and update log.
> >>
> >> --
> >> Regards,
> >>  Rafał Kuć
> >>  Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
> ElasticSearch
> >>
> >> > I ma moving to solr4.0 from beta version. There is a exception was
> >> thrown,
> >>
> >> > Caused by: org.apache.solr.common.SolrException: _version_field must
> >> exist
> >> > in schema, using indexed="true" stored="true" and multiValued="false"
> >> > (_version_ does not exist)
> >> >         at
> >> >
> >>
> org.apache.solr.update.VersionInfo.getAndCheckVersionField(VersionInfo.java:57)
> >> >         at org.apache.solr.core.SolrCore.<init>(SolrCore.java:606)
> >> >         ... 26 more
> >> > 2
> >>
> >> > It's seem that there need a field like
> >> >  <field name="_version_" type="long" indexed="true" stored="true"/>
> >> > in schema.xml. I am wonder what does this used for?
> >>
> >>
> >
> >
> > --
> > from Jun Wang
>



-- 
from Jun Wang

Reply via email to