Question

Since Examine is a layer on top of Lucene.Net API, I am trying to find if it exposes any of the core Lucene.Net API or object reference like IndexReader so that I could perform some complex operations that is not possible with Examine. Is there any way, for instance, to get a reference to IndexReader object from the Examine SearchProvider or IndexProvider objects? I work with Sitecore as well and I know Sitecore's Search API exposes the underlying Lucene.Net objects which makes it a lot easier to perform additional complex queries.

In this case, what I am trying to do is, get IndexReader reference from my Examine instance, and pass it to another library BoboBrowse for facet queries. I do not want to create a separate IndexReader and manage path mappings and all that, if it is possible to retrieve from Examine. Is it possible?

Was it helpful?

Solution

No it doesn't. You will have to spin up a new IndexReader I'm afraid.

At least all the paths to your indexes are defined in the Umbraco config files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top