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

Bring2mind Forums

DMX Search return not all Entries
Last Post 01/18/2009 11:17 PM by Peter Donker. 9 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/14/2009 5:39 PM

DMX 04.02.01 on DNN 04.08.02

We have compared the Search Results wit the Search in DMX and with Luke (Lucene Toolbox) DMX returns 79 Objects also with the "Lucene Syntax: schultyp:AHS) and Luke returns 684 Documents by the same Query.

The View_Permissions include by all Documents "All Users"

The Field Schultyp is a Custom-Attribute but we have this testet also with the Standard-Field Title and have here also lower Results as in Luke.

Thanky for any Tips!!

Guido

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/15/2009 9:26 AM
Hi Guido,
Have permissions changed in the meantime? Try running a reindex and see if that changes things. The only difference between Lucene direct and DMX is the security. Another thing to try is to enter the query you used in Luke directly in the expert search box in the DMX UI. Are the results still different?
In DMX 5 the permissions are no longer stored in Lucene, but they're checked in the main module.
Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 10:13 AM

Yes we changed Permission, we have here give "ALL USERS" Access to all Documents and applied this rights also to the Sub-Levels in the Structure.

The Result in the DMX-Search is identical with the Results when we use the Expert-Search-Box in the DMX UI.

Only when we search in Luke we receive all Results and we see here also in the Field ViewPermissions every ALL USERS and other Roles from us.

We have made 3 times a reindex but the we become not more Results!

Guido

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/15/2009 10:16 AM
Hi Guido,
I'd try DMX 5 if I were you.
Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 10:19 AM

We cannot try DNN 5 on this System, we have not added a additional Year for Support and we must go online in 2 Days!

Guido

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 10:20 AM

Sorry i mean DMX 5!

Guido

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 10:22 AM

A Version Update is here also very hard because we have many many custom changes in the Module was we need!

Guido

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 10:31 AM
When we will apply the Permissions to the Subfolder we receive followed Error Message

Es ist ein kritischer Fehler aufgetreten!
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

Guido
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
01/15/2009 1:20 PM

We have made now the permissions new and set also to all Sub-Folders and so. In the next Step we have made a reindex and we found now more Documents but the maximum of the displayed Results is every 99 Objects.

We need here an higher maximum of the results in the Search Result!

Guido

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/18/2009 11:17 PM
Hi Guido,

Then you will need to tweak the DMX code. In your version (and still the current one) it's clipped at 100 to protect the user from an overload. It'll probably find its way into an admin setting one day but for now it is in code. The method where this happens is:

SearchProvider.Search(ByVal PortalId As Integer, ByVal User As DotNetNuke.Entities.Users.UserInfo, ByVal PermissionKey As String, ByVal SearchTerms As List(Of SearchTerm), ByVal IncludeAllVersions As Boolean, ByVal CollectionId As Integer, ByVal MaxResults As Integer) As List(Of SearchResult)

Peter
You are not authorized to post a reply.