Custom non-root lucene index
We're running on MongoMK SP2 + hotfix 5779.
To optimize performance we are creating custom lucene indexes on content path. So something like this:
/content/sitea/oak:index/
/content/siteb/oak:index/
We have three types of search on cq:Page: for blog posts (property blog=true), events (property event=true), tags & free text.
I thought of creating four lucene indexes per site: one fulltext, three that include the properties. Something like:
/oak:index/lucene-blog --> on type cq:Page, indexing property blog, indexing property datePublished (ordered)
/oak:index/lucene-event --> on type cq:Page, indexing property event, indexing property startDate (ordered)
/oak:index/lucene-tags --> on type cq:Page, indexing property tags, indexing property datePublished (ordered)
/oak:index/lucene-fulltext --> copied over from the base oak:index
The problem is that when I do a tag based search its using the events lucene-event index. Which doesn't have all the pages that are tagged.
What's the problem? Can I have multiple lucene indexes on the same type?
Also, would it be possible to view the index when you use MongoMK?
Many thanks,
Katrien