question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document __hitIndex

See original GitHub issue

when using the item template, we add a special property to each hit __hitIndex (code). This property makes it easy to number the items in a hits widget.

But this property is not documented, I didn’t know about it before a user found it again. We should document it!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bobylitocommented, Sep 22, 2017

Oh ok I get your point. It would be nicer but we are injecting that in the hits and the __ limits the risk of collision with already existing attributes.

0reactions
Haroenvcommented, Sep 22, 2017

Great point, the __ prefix is according to spec then, I forgot about that

Read more comments on GitHub >

github_iconTop Results From Across the Web

thepailab/HITindex - GitHub
The HITindex was designed to be run on bam files containing mapped reads. Here, we describe the usage of the two main steps...
Read more >
hits | InstantSearch.js - Algolia
This template receives an object containing a single record. The record has a new property __hitIndex for the relative position of the record...
Read more >
PickContext.PickFrustumTest Method ... - Rhino Developer Docs
Utility for picking meshes.
Read more >
Widespread occurrence of hybrid internal-terminal ... - Science
On the basis of splice junction reads in RNA sequencing data and probabilistic modeling, the HIT index identified thousands of previously ...
Read more >
Widespread occurrence of hybrid internal-terminal ... - PubMed
... the HIT index identified thousands of previously misclassified hybrid ... our findings document the occurrence of hybrid exons, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found