Hi,
Yes, maybe i can use a field multivalued , with
all my contents with a unique id.
My field "code" maybe can be a field multivalued ,
where each code is a diferente reference for the same content.

Can i directly update or remove one code inside
a multi-valued field ? Like this query:

- Need all contents with have "test" and
have code = 2 ? Where code field have many values ?

Best
Thyago

Sorry for double email, i'm new on maillist =)


Em 16/11/2010 22:43 Thyago, Erick Erickson escreveu:
Can you explain a bit more? Because on the face
of it, "unique IDs but shared content" doesn't make
sense. The point of unique IDs is that they identify
documents uniquely.

A more usual setup is to have the content correspond
to the unique id. Is what you want really making your
"code" field multivalued?

Best
Erick

On Tue, Nov 16, 2010 at 11:23 AM, Thyago<tschle...@gmail.com>  wrote:

Hi,
Is there any way to commit docs with unique key but with shared content ?
Example:

<field name="id" type="string" indexed="true" stored="true" required="true"
/>
<field name="code" type="int"    indexed="true"    stored="true"  />
<field name="content" type="text" indexed="true" stored="true"  />

I have a lot of itens with same content but with different codes.
Because this index is very large there any way to commit docs with unique
id and
code but with shared content to have a smallest index ?

[]'s
Thyago

Reply via email to