dnn search

Dec 4, 2015 at 6:41 AM

i have a poral with diffrent templates but what should i do that the content will be indexed from the dnn search?


best regards

Dec 7, 2015 at 5:56 AM
In general it should "just work". If it doesn't, you'll have t do some debugging. note that the search index runs in the background, so the only way to find problems is using the event log.
Dec 7, 2015 at 8:14 AM
the search crawler has no error message;

thats what i see at the protocoll:

Search: Site Crawler Starting. Content change start time 07.12.2015 00:17
Deleted Objects: 0
Tabs Indexed: 0
Modules (Metadata) Indexed: 0
Modules (Content) Indexed: 121
Users: 0
Total Items Indexed: 121
Indexing Successful web16 2,203
S: 07.12.2015 10:02:09
E: 07.12.2015 10:02:11
N: 07.12.2015 11:02:09

and under the event logs there is nothing.

but the content from 2sexy could not be found at the website search.
Dec 7, 2015 at 9:33 AM
In this case I'm just guessing that 2sxc doesn't have that content assigned to that module - so the indexer doesn't find anything.

Could it be that you are using the data in data-mode and not in assigned content-mode? Are you using a query to retrieve the data you are showing?
Dec 7, 2015 at 11:53 AM
where can i find those settings?

data-mode and not in assigned content-mode
Dec 7, 2015 at 3:53 PM
This is one of the special cases we're prepared for, but they are a bit more difficult to implement :)

To do this, you need Razor templates.

there are 2 ways to do it - see also http://2sxc.org/en/Docs/tag/search and specifically http://2sxc.org/en/Docs-Manuals/Feature/feature/2686
  1. correctly "prepare" the data you will show in the correct event CustomizeData - that would already work and give you content in search - see http://2sxc.org/en/Docs-Manuals/Feature/feature/2683
  2. optionally do extra special processing just for search indexing in the additional event CustomizeSearch
Note that the prepare event can also do alternate preparations when it knows it's getting data for the search index, based on the InstancePurpose - see http://2sxc.org/en/Docs-Manuals/Feature/feature/2687