Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using the new MNTP to work as tags for my document type and I want to implement a filter functionality based on these tags. There can be multiple filters in the search query. I have been looking at the index and I see that the MNTP stores values as umb://document/xxxxxxxx . Whats the best way to store and query the index in this case to achieve filtering?
How does it store multiple values as a csv list? I would look at may be using gathering node data and then either create a new field and get the values. if they are csv then split on string. Then I would look at extracting out the guids from the urls and storing those as space separated list.
On you page with tags you can get the guid of the tag and then search on that?
It's a good point you have here im going to update my examine course notes.
I was going to do just what you said but I wanted to make sure that what I do is right as the entire site is more or less examine powered. I ll let you know how it goes.
Sorry for delayed response. This is what I finally got to.
string.Concat(e.Fields["category"].Replace("umb://document/", string.Empty), " "));
I also wanted to ask you one more thing. Is it a good practice to further select from search results using LINQ once I have the search results?
Try and avoid using extra linq statements at end use the examine itself to filter as it will be much quicker.
What I wanted to to was get the search results and I am interested in particular fields from the set.
say for eg i need to get a list of document types "xyz". from that list I need all fields of type "abc".
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted