lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <s...@elyograg.org>
Subject Re: Restriction on type of uniqueKey field?
Date Thu, 03 Jul 2014 17:20:25 GMT
On 7/1/2014 8:43 AM, Koji Sekiguchi wrote:
> In addition, KeywordTokenizer can be seemingly used but it should be
> avoided
> for unique key field. One of my customers that used it and they had got OOM
> during a long term indexing. As it was difficult to find the problem,
> I'd like to share my experience.

Aside from Koji's experience, there is another reason that a TextField
with something like KeywordTokenizer/LowerCaseFilter should not be used
for the uniqueKey.  It is documented in the wiki:

https://wiki.apache.org/solr/UniqueKey#Text_field_in_the_document

Thanks,
Shawn


Mime
View raw message