Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

DNN Integrated Search not working
Last Post 04/25/2008 11:55 AM by Peter Donker. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Rob Ralston
Basic Member
Basic Member
Posts:164


--
04/14/2008 2:55 PM

Hi Peter,

DNN v04.08.02, DMX v04.02.01, MS Indexing Service

This is just a reminder that after adding DMX search to the DNN search results page, no results are displayed in DMX when a "Site Search" is done. Note: Search directly from DMX does work properly.

Also, when a DNN site search is executed, is the intent to find just items with the word(s) in a title, or does it do a content search, or both?

Thanks,

Rob Ralston
SilverBullet Technologies LLC
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/17/2008 4:49 PM
Hi Rob,
The intent is both. I'll make a note of it.
Peter
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/24/2008 2:27 PM
Rob,

From your forum post I gather this is an Indexing Service search issue. There is no fork between regular and integrated search apart from the auto-loading of the search 'terms'. This happens as follows:

AddSearchTerm(Searchterms, "title", searchString)
AddSearchTerm(Searchterms, "contents", searchString)
AddSearchTerm(Searchterms, "author", searchString)
AddSearchTerm(Searchterms, "keywords", searchString)
AddSearchTerm(Searchterms, "remarks", searchString)
AddSearchTerm(Searchterms, "originalname", searchString)

What happens is that the search becomes a search on those 6 fields where each eventually gets transformed into OR fieldx LIKE '%searchString%'. After that it is exactly like the regular search.

Whatever you see you should see in Indexing Service AND Lucene. There is no difference in the code that runs between the two providers regarding regular and integrated search.

You could help me by trying to replicate it (almost) exactly in the regular search by specifying your search string for 4 fields and leaving the dropdowns on 'contains' and leaving the combination on 'OR'. Does it still display different results?

Thanks,
Peter
Rob Ralston
Basic Member
Basic Member
Posts:164


--
04/24/2008 6:54 PM

Hi Peter,

Good testing idea. Here are the results which I hope will help you:

Using the Search UI, I set the four fields to:

Title
Contents
Author
Keywords

The Select was set to Contains, with the same Search Term set for all 4 fields, and the Combination set to OR:

This search yielded good results.

Then, on the last Field, I changed the value from Keywords to Remarks and got NOTHING.

Then, I changed the last field from Remarks to Original filename and also got NOTHING.

Rob Ralston

Rob Ralston
Basic Member
Basic Member
Posts:164


--
04/24/2008 6:58 PM

And yes, it is an Indexing Service installation.

Rob

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/25/2008 11:55 AM
OK, so from your tests we can conclude that including the remarks or original filename in the search will break it. That is a good hint to solve this, thanks.

Peter

PS recovering from a hard disk crash here ... so a little distracted
You are not authorized to post a reply.