Shawn; SolrCloud only works with "id".

On Fri, Mar 15, 2024 at 4:29 PM Shawn Heisey
<apa...@elyograg.org.invalid> wrote:
>
> On 2/12/24 16:21, David Smiley wrote:
> > Just presume the uniqueKeyField to be "id", especially in SolrCloud.
> > If one of your users uses something different, I'd be surprised!
>
> My first install of Solr, which was version 1.4.0 (LONG before
> SolrCloud), did NOT use "id" as the uniqueKey field name.  It used a
> field named "did" which in mysql was an autoIncrement 'bigint' field,
> the table's primary key.
>
> Assuming this seems like a bad idea.  Some users are likely to need to
> use Solr to provide search for very old existing systems that use
> another field name for unique document identification.
>
> For this reason, SolrJ still needs a method to get the name of that field.
>
> Thanks,
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
> For additional commands, e-mail: dev-h...@solr.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to