lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Della Bitta <michael.della.bi...@appinions.com>
Subject Re: Restriction on type of uniqueKey field?
Date Tue, 01 Jul 2014 13:15:10 GMT
Alex, maybe you're thinking of constraints put on shard keys?

Michael Della Bitta

Applications Developer

o: +1 646 532 3062

appinions inc.

“The Science of Influence Marketing”

18 East 41st Street

New York, NY 10017

t: @appinions <https://twitter.com/Appinions> | g+:
plus.google.com/appinions
<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts>
w: appinions.com <http://www.appinions.com/>


On Tue, Jul 1, 2014 at 7:05 AM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:

> No, you definitely can have an int or long uniqueKey. A lot of Solr's tests
> use such a uniqueKey. See
> solr/core/src/test-files/solr/collection1/conf/schema.xml
>
>
> On Tue, Jul 1, 2014 at 3:20 PM, Alexandre Rafalovitch <arafalov@gmail.com>
> wrote:
>
> > Hello,
> >
> > I remember reading somewhere that id field (uniqueKey) must be String.
> > But I cannot find the definitive confirmation, just that it should be
> > non-analyzed.
> >
> > Can I use a single-valued TrieLongField type, with precision set to 0?
> > Or am I going to hit issues?
> >
> > Regards,
> >    Alex.
> > Personal website: http://www.outerthoughts.com/
> > Current project: http://www.solr-start.com/ - Accelerating your Solr
> > proficiency
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message