Search is not working properly using Full Text Search
I have implemented Full Text Search in Umbraco 7.1.4 but it seems to be working with Nodes Name only. But it seems to be not for bodyText and pageTitles?
If you still need answer -
for first - in ExamineIndex.config file you have setting for indexing, so you could setup fields and NodeTypes (include, exclude) for indexing, and after that use them in search.
for second - also u could change indexing logic to index grid inside node, smth like
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
var fullTextIndexer = ExamineManager.Instance.IndexProviderCollection["FullTextIndexer"];
var indexer = (UmbracoContentIndexer)fullTextIndexer;
indexer.DocumentWriting += FullTextIndexer_DocumentWriting;
//SearchExtension.ResultOutput += SearchExtension_ResultOutput;
base.ApplicationStarted(umbracoApplication, applicationContext);
}
private void FullTextIndexer_DocumentWriting(object sender, DocumentWritingEventArgs e)
{
var node = ApplicationContext.Current.Services.ContentService.GetPublishedVersion(e.NodeId);
if(node == null)
{
return;
}
Field field = null;
//do som stuff with that field here (check grid and add it to field, it's Lucene.Net document field, set boost for this field
e.Document.Add(field );
}
Search is not working properly using Full Text Search
I have implemented Full Text Search in Umbraco 7.1.4 but it seems to be working with Nodes Name only. But it seems to be not for bodyText and pageTitles?
I have installed it from https://our.umbraco.org/projects/website-utilities/full-text-search/
can anyone help me with this?
I have the same problem on 7.4.0. It only searches nodename, and only displays nodename in results.
This site is grid based. I have fulltextsearch running on a 7.1.3 site based on archetype, working fine?!?
Any ideas?
If you still need answer - for first - in ExamineIndex.config file you have setting for indexing, so you could setup fields and NodeTypes (include, exclude) for indexing, and after that use them in search. for second - also u could change indexing logic to index grid inside node, smth like
I'm using it on 7.5 without issue.
You may need to check HttpUrl in FullTestSearch.config, or the logs to make sure it's able to pull the pages for indexing.
It even works with grid contents.
My issue ended up being my own fault. I hadn't enabled fulltextsearch in the config file...
is working on a reply...