Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search ResultsSearch Results
Previous
 
Next
New Post
3/19/2010 2:49 AM
 

HI.

When search results are returned the description is cutoff with four dots. I have tried changing the Maximum Description Length but it does not work. Is there anyway that this can be changed or is it standard?

Thank you.

 
New Post
3/19/2010 5:42 AM
 
If you modify search description length, you need to clear and re-index search index, please follow these instructions: http://www.deutschnetnuke.de/AboutDotnetNuke/V3V4TippsTricks/Suchindexlöschen.aspx

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/23/2010 9:23 AM
 

Hi.

I believe the problem I am experiencing has something to do with this line of code:

Dim strDescription As String =
HtmlUtils.Shorten(HtmlUtils.Clean(System.Web.HttpUtility.HtmlDecode(.Description),
False), 100, "...")

I would like to make the length of the description longer than 100 characters long, however I can not change this code. Is it possible to change this to make the description length longer or can this not be changed?

Thank you.

 
New Post
6/16/2011 4:51 AM
 
This does not work. Something is hardcoded somewhere.

I have changed the value of "Maximum Description Length" to 250. Cleared and verified empty the four mentioned tables and reindexed. Check the tables again and still only 100 characters.

Whats funny is the help icon for the setting clearly states that leaving blank has no maximum. Quote from the help tip:

"Enter the maximum number of characters to display for the description (leave blank for no maximum)"

Even more bizarre is not much talk about this on the net. Surely someone have modified this somehow.

I am working with version 5.6.2. The SearchResults.ascx.vb code is different the the above positing. At least in this file there is no way to change the value from 100 since it seems to retrieve the setting value.

Dim descLength As Integer = 0
If CType(Settings("descriptionlength"), String) <> "" Then
descLength = Integer.Parse(CType(Settings("descriptionlength"), String))
End If

Regards
 
New Post
6/16/2011 6:59 PM
 
More info on this.

After some experimentation, I have discovered that the issue has nothing to do with the search results.

After clearing the search table and reindexing the content I noticed in the SearchItem table that the description field only has 100 characters stored. This means that the results will be no more than 100 characters but can be reduced using the "Maximum Description Length".

After examining the table structure the description field is set to 2000 characters. So the question now is how to get the indexer to store more than 100 characters?

Regards
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Search ResultsSearch Results


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out