Smalyshev added a comment.

Titan allows indexing the floats, but not in vertex-centric indexes. 
Elasticsearch indexes support floats, for example. I'm not sure what is the 
actual impact of this limitation yet - it probably depends on the kind of 
lookups we would do, as for some vertix-centered indexes may be important and 
for some they may be irrelevant. We'll need more research into this. If this 
proves to be a problem, we could have a work-around - say, a duplicate property 
with Precision data type, with lower resolution just for specific lookups that 
benefit from indexing.

In any case it's probably not worse than keeping them as strings, as in the 
latter case indexes can not be used for anything like "more", "less", 
"between", etc. queries and may not even work for exact value matches.


TASK DETAIL
  https://phabricator.wikimedia.org/T85298

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev
Cc: Aklapper, Smalyshev, Manybubbles, GWicke, JanZerebecki, aude, 
Lydia_Pintscher, Eloquence, aaron, daniel, thiemowmde, JeroenDeDauw, jkroll, 
Wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to