How to index all vtags

2 views
Skip to first unread message

Алексей

unread,
Jul 6, 2011, 9:17:35 AM7/6/11
to lily-discuss
In indexercinf.xml parameter vtags in tag tag record:
<record vtags="..."/>

list vtag version:
last,current,...

What i should insert in parameter for indexing all record versions?
<record vtags="*"/>
is incorrect... :-(

Bruno Dumon

unread,
Jul 7, 2011, 7:12:02 AM7/7/11
to lily-d...@googlegroups.com
Hi,

You need to list the vtags explicitly. I'm not sure if there is a particular reason for this, I can't recall it right now.

It is not possible index all record versions (unless they would all have vtags assigned).
--
Bruno Dumon
Outerthought
http://outerthought.org/

Алексей

unread,
Jul 7, 2011, 8:24:18 AM7/7/11
to lily-discuss
Hi, Bruno

On 7 июл, 17:12, Bruno Dumon <br...@outerthought.org> wrote:
> Hi,
>
> You need to list the vtags explicitly. I'm not sure if there is a particular
> reason for this, I can't recall it right now.
>
> It is not possible index all record versions (unless they would all have
> vtags assigned).
Therefore if record has system assigned id, not marked by vtag field I
cannot find it by Solr after record received new version?
May be You are right, but i have next problem :-)
I want to write universal indexerconf.xml for indexing all (vtagged)
records of lily repository.
Dynamicfields mechanism aloow me to do it.
If I insert in any recordType new vtag field I must change
indexerconf.xml and reindex all records in lily?

May be allow to assing value * of fiels vtags.
That means index all records, that pointed by vtag fields?

Bruno Dumon

unread,
Jul 7, 2011, 10:20:59 AM7/7/11
to lily-d...@googlegroups.com
On Thu, Jul 7, 2011 at 2:24 PM, Алексей <k...@nevod.ru> wrote:
Hi, Bruno

On 7 июл, 17:12, Bruno Dumon <br...@outerthought.org> wrote:
> Hi,
>
> You need to list the vtags explicitly. I'm not sure if there is a particular
> reason for this, I can't recall it right now.
>
> It is not possible index all record versions (unless they would all have
> vtags assigned).
Therefore if record has system assigned id, not marked by vtag field I
cannot find it by Solr  after record received new version?
May be You are right, but i have next  problem :-)
I want to write universal indexerconf.xml for indexing all (vtagged)
records of lily repository.
Dynamicfields mechanism aloow me to do it.
If I insert in any recordType new vtag field I must change
indexerconf.xml and reindex all records in lily?

Reindexing is not necessary if you update the indexerconf before using the new vtag in any records.
 

May be allow to assing value * of fiels vtags.
That means index all records, that pointed by vtag fields?
Reply all
Reply to author
Forward
0 new messages