Search code examples
solrsolrnet

How to get lucene DocumentId in Solr/Solrnet?


I want to get the ID of one lucene Document using SolrNet is it possible if yes then how.


Solution

  • From http://osdir.com/ml/solr-user.lucene.apache.org/2010-01/msg01218.html

    Internal doc ids are generally not exposed to the end user [in Solr] and shouldn't be trusted 99% of the time

    If you're having trouble with the highlighter, this is most likely not the way to solve it.