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
Hi guys I used Examine previously on another site now in production and have to say what an AWESOME product it is!
just a little confused with the introduction of chaning search terms in the new rc1 release:
previously it was:
new SearchCriteria(SearchTextBox.Text, true,0, 100);
with chaining how would i relplicate this line just searching for searchtextbox.text..
now with chaining:
var searchCriteria = ExamineManager.Instance.CreateSearchCriteria(100, IndexType.Content);
searchCriteria.IncludeHitCount = true; searchCriteria = searchCriteria .Id(1080) .Or() .Field("headerText", "umb".Fuzzy()) .And() .NodeTypeAlias("cws".MultipleCharacterWildcard()) .Not() .NodeName("home") .Compile(); var results = ExamineManager.Instance.Search(searchCriteria);
I can't seem to find the right chain to just search all fields for the search term...
will there be new Examine doco out soon?
Cheers,
Tom
and also what does Fuzzy refer to in the doco?
I was thinking of using MultipleFields and listing them all but i was wondering if there's a better way?
or can i just use the overload on Search.. as i was wondering with the newer releases if that would hang around?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Examine - 49725 How to just search for text!
Hi guys I used Examine previously on another site now in production and have to say what an AWESOME product it is!
just a little confused with the introduction of chaning search terms in the new rc1 release:
previously it was:
new SearchCriteria(SearchTextBox.Text, true,0, 100);
with chaining how would i relplicate this line just searching for searchtextbox.text..
now with chaining:
var searchCriteria = ExamineManager.Instance.CreateSearchCriteria(100, IndexType.Content);
searchCriteria.IncludeHitCount = true;
searchCriteria = searchCriteria
.Id(1080)
.Or()
.Field("headerText", "umb".Fuzzy())
.And()
.NodeTypeAlias("cws".MultipleCharacterWildcard())
.Not()
.NodeName("home")
.Compile();
var results = ExamineManager.Instance.Search(searchCriteria);
I can't seem to find the right chain to just search all fields for the search term...
will there be new Examine doco out soon?
Cheers,
Tom
and also what does Fuzzy refer to in the doco?
I was thinking of using MultipleFields and listing them all but i was wondering if there's a better way?
or can i just use the overload on Search.. as i was wondering with the newer releases if that would hang around?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.