Any ideas on how to apply multiple search in Examine.
What I've done is.
var searcher = ExamineManager.Instance.SearchProviderCollection["ExternalSearcher"];
var searchCriteria = searcher.CreateSearchCriteria();
var searchQuery = searchCriteria.NodeTypeAlias("Product");
var searchResults = searcher.Search(searchQuery.Compile());
All I want to do is, for example.. when user select for 2 Bedrooms & 2 Bathrooms. I already get the data which the user inputs
Multiple Search with Examine
Hi all,
Any ideas on how to apply multiple search in Examine.
What I've done is.
All I want to do is, for example.. when user select for 2 Bedrooms & 2 Bathrooms. I already get the data which the user inputs
How can I insert this in Examine as a Query?
Thanks in advance!
Cheers,
Jin
I've tried.
But still no luck, it gives a Null Exception error.
Any helps?
thanks
Not sure that you need the .And() at the end.
Also, I would look to create a new Index with minimal fields that you either only want to search on or output.
There's a great article from a great website that should help you along
https://24days.in/umbraco-cms/2013/getting-started-with-examine/
Hi Jin,
What part of the code is giving the null reference exception ?
Dave
is working on a reply...