Hi,

Do you have an id field for your documents? On the other hand, does your
document count increases when you index it again?

Kind Regards,
Furkan KAMACI

On Fri, May 22, 2020 at 1:03 AM gnandre <arnoldbron...@gmail.com> wrote:

> Hi,
>
> I do not pass that field at all.
>
> Here is the document that I index again and again to test through Solr
> Admin UI.
> {
> asset_id:"x:1",
>         title:"x"
> }
>
> On Thu, May 21, 2020 at 5:25 PM Furkan KAMACI <furkankam...@gmail.com>
> wrote:
>
> > Hi,
> >
> > How do you index that document? Do you index it with an empty
> > *index_time_stamp_create* field as the second time too?
> >
> > Kind Regards,
> > Furkan KAMACI
> >
> > On Fri, May 22, 2020 at 12:05 AM gnandre <arnoldbron...@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > Following is the update request processor chain.
> > >
> > > <updateRequestProcessorChain name="DefaultProcessorChain"
> default="true"
> > >
> > > <
> > > processor class="solr.TimestampUpdateProcessorFactory"> <str name=
> > > "fieldName">index_time_stamp_create</str> </processor> <processor
> class=
> > > "solr.LogUpdateProcessorFactory" /> <processor class=
> > > "solr.RunUpdateProcessorFactory" /> </updateRequestProcessorChain>
> > >
> > > And, here is how the field is defined in schema.xml
> > >
> > > <field name="index_time_stamp_create" type="date" indexed="true"
> stored=
> > > "true" />
> > >
> > > Every time I index the same document, above field changes its value
> with
> > > latest timestamp. According to TimestampUpdateProcessorFactory  javadoc
> > > page, if a document does not contain a value in the timestamp field, a
> > new
> > > Date will be generated and added as the value of that field. After the
> > > first indexing this document should always have a value, so why then it
> > > gets updated later?
> > >
> > > I am using Solr Admin UI's Documents tab to index the document for
> > testing.
> > > I am using Solr 6.3 in master-slave architecture mode.
> > >
> >
>

Reply via email to