CottageLabs / idfind

An identifier identifier
1 stars 0 forks source link

duplicate items in /submit #39

Open emanuil-tolev opened 12 years ago

emanuil-tolev commented 12 years ago

When handling multiple-item things in /submit like useful links, tags, response success tests we shouldn't really index the record with duplicates in it. It's just pointless.

If we put the stuff coming through in multiples in a set instead of a list and then convert that into a list before indexing the record into elasticsearch, that would achieve that.

It's not a big deal and should only be dealt with when there's nothing more important to do on project, or when contributor is too tired to do any major piece of work...