Search code examples
c#.netsolrnet

Extract object into Solr


We need to extract and store C# objects into Apache Solr but weren't sure if anyone has done work on this. Here's an example:

  • A Word document being indexed can have a Persons list associated with it.
  • Each Person object in the list has these fields,
    • Name
    • Age
    • Email address
    • Phone

How do you store this in Solr? Any .NET examples out there? The only code I could find was the Solrizer, which is Ruby.


Solution

  • There is Solrnet library that can help you.