lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: auto-valued fields
Date Thu, 04 May 2006 18:08:56 GMT
On 5/4/06, Ken Krugler <> wrote:
> >On 5/4/06, Erik Hatcher <> wrote:
> >>I've been thinking that Solr could benefit from "auto-valued" fields,
> >>such as a datestamp.  This would be a field defined in the schema,
> >>but its value comes from the Solr server itself rather than the
> >>client POSTing documents.  The client wouldn't post such a value at
> >>all (it'd be an error if it did, perhaps, or it could override the
> >>automatic value?).
> >>
> >>Does this make sense as a feature request to the Solr server?
> >
> >Definitely... I had previously thought about auto-incrementing fields
> >(for documents without a natural uniqueKey)... but to be useful, that
> >id may need to be returned in the response.
> >
> >A server-set date field both makes sense *and* is easy to implement.
> And then there's the auto-generated unique ID value that I'd like :)

Yeah... that's what what I meant by auto-incrementing fields.
For that to be useful, the generated id would need to be returnd in
the response to the add, right?


View raw message