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

Bring2mind Forums

Search-Result in Lucene but not in DMX
Last Post 04/12/2008 12:03 AM by Peter Donker. 16 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
03/26/2008 8:14 PM

DMX: 04.00.03 and 04.02.01 , DNN 04.05.05 and DNN 04.08.02

We have defined any Custom-Attributes for our Documents, when we search in DMX the most Custom-Attributes works fine but one single Custom-Attribute was not work.

Our Error-Source-Localizing-Steps:

  • We clear the Lucene Index- and Tempdir from filestructure
  • We made a reindexing
  • Result is No Result
  • We Test the Search with Luke and see Lucene returns the right Documents.

Please inform me what Informations you need Peter!

Thank You!

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/27/2008 1:19 PM
Hi Guido,
It was a 'string' type custom attribute? And did you use a wildcard in Luke to search or not?
Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
03/27/2008 1:42 PM

Hi Peter,

yes the Type is string how by others and we use no wildcard by the Search in luke we search the complete word complete complete identical how in DMX.

We now verified all Custom-Attributes and Search-Result please see the Result below in the Table that is very curious.

The only different to other String-Custom Attributes is the Setting required to true by this Field.

Name ValueTypeText Required Entry Types Control to Load Resource File Custom Search Reult
Sachgebiet String false File       OK
Geschaeftszahl String false File       OK
ER-Numer String false File       OK
SSR-Erlass Select true File     Ja;Nein OK
Ersetzt durch String false File       OK
Ersatz fuer String false File       OK
Gefertigt von String true File       NOT OK
Schultyp Select true File     AHS;APS;BBS;BMHS OK

 

Thank You

Guido

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
03/27/2008 3:25 PM

We have set now the required by the Custom-Attribute Gefertig von to false and made reindex from the Portal but now also no Result in DMX but in Luke.

Thank You

Guido 

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
03/28/2008 9:54 AM

Our next Step we try to localize a Problem by SQL-Select or so and have followed Results.

  • We trace the specified Select in the SQL-Server-Profiler
  • We copy and execute the Select self on the SQL-Server
  • Here are the right Documents are returned btu not displayed in DMX.
  • We verify also the Permissions on the Object and see here is all ok and we have the needed Permissions
  • We navigate in the Tree and without a Search and can this Document view, edit,.. was not returned by the Search.

Search Detail: We search gruden in the Custom-Attribute gefertig von

Select Result in Text-Form is below:

Author CollectionId Created Deleted Description EditRoles Entry EntryId EntryType FileSize IsApproved Keywords LastVersionId LockedBy OriginalFileName PortalId Remarks_old Owner Version ViewRoles LastModified Categories IsPrivate_old LockedUntil LockKey MD5Hash State VersionsToKeep WorkflowId Rank CollectionTitle IsLocked ControlToLoad Custom DownloadUrl EntryTypes Icon16 Icon32 IsPrivate MimeType ResourceFile SettingsControl ViewByDefault IsCollection Remarks Title Geschaeftszahl SSR Erlass Ersetzt durch Ersatz fuer Gefertigt von ER-Nummer Sachgebiet Schultyp

NULL 129 2008-03-13 15:46:41.947 0 NULL NULL 1580 Collection 0 1 NULL 1580 NULL NULL 0 NULL 5 1 NULL 2008-03-13 15:46:41.947 NULL NULL 2008-03-13 15:46:41.947 NULL NULL NULL NULL NULL 0,7427718 Bezüge 0 Bring2mind/DMX/ViewCollection.ascx NULL NULL NULL DesktopModules/Bring2mind/DMX/images/Collection.Gif DesktopModules/Bring2mind/DMX/images/Collection.Big.Gif 0 NULL DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources NULL 0 1 Dienstaufträge im Sinne des § 61 Abs. 5 NULL Ja NULL NULL NULL NULL NULL AHS

HR Mag. Reinhard Gruden und VB Claudia Ender 1580 2008-03-13 15:49:20.820 0 NULL NULL file_20080313_154920_cltYI_0.resources 1581 File.Adobe.Acrobat 135277 1 NULL 1581 NULL 350_017_0002_kanz3_2004.pdf 0 NULL 5 1 NULL 2008-03-13 15:49:20.820 NULL NULL 2008-03-13 15:49:20.820 NULL g0Os3DpZ66CRoRW6k+A5lw== NULL NULL NULL 0,7427717 Dienstaufträge im Sinne des § 61 Abs. 5 0 Bring2mind/DMX/ViewCollection.ascx pdf NULL NULL DesktopModules/Bring2mind/DMX/images/File.Adobe.Acrobat.Gif DesktopModules/Bring2mind/DMX/images/File.Adobe.Acrobat.Big.Gif 0 application/pdf DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources NULL 0 0 Dienstaufträge im Sinne des § 61 Abs. 5 350.017/0002-kanz3/2004 Ja NULL NULL AL HR Mag. Reinhard Gruden ER IIIB 410 Bezüge BBS

NULL 129 2008-03-13 15:37:08.343 0 NULL NULL 1578 Collection 0 1 NULL 1578 NULL NULL 0 NULL 5 1 NULL 2008-03-13 15:37:08.343 NULL NULL 2008-03-13 15:37:08.343 NULL NULL NULL NULL NULL 0,5639563 Bezüge 0 Bring2mind/DMX/ViewCollection.ascx NULL NULL NULL DesktopModules/Bring2mind/DMX/images/Collection.Gif DesktopModules/Bring2mind/DMX/images/Collection.Big.Gif 0 NULL DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources NULL 0 1 Vergütung von Mehrdienstleistungen -Dienstaufträge im Sinne des § 61 Abs. 5 GG NULL Ja NULL NULL NULL NULL NULL AHS

HR Mag. Eva Maria Sand 1578 2008-03-13 15:39:56.920 0 NULL NULL file_20080313_153956_MtCbT_0.resources 1579 File.Adobe.Acrobat 156113 1 NULL 1579 NULL 350_017_0002_01_kanz3_2004.pdf 0 NULL 5 1 NULL 2008-03-13 15:39:56.920 NULL NULL 2008-03-13 15:39:56.920 NULL OEY1IRIUyaAkKFBf5pYacQ== NULL NULL NULL 0,5639563 Vergütung von Mehrdienstleistungen -Dienstaufträge im Sinne des § 61 Abs. 5 GG 0 Bring2mind/DMX/ViewCollection.ascx pdf NULL NULL DesktopModules/Bring2mind/DMX/images/File.Adobe.Acrobat.Gif DesktopModules/Bring2mind/DMX/images/File.Adobe.Acrobat.Big.Gif 0 application/pdf DesktopModules/Bring2mind/DMX/App_LocalResources/SharedResources NULL 0 0 Vergütung von Mehrdienstleistungen -Dienstaufträge im Sinne des § 61 Abs. 5 GG 350.017/0002-01-kanz3/2004 Ja NULL NULL AL HR Mag. Reinhard Gruden ER IIIB 410 Bezüge BBS

(4 row(s) affected)


 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/01/2008 1:36 PM
Hi Guido,
Very strange indeed. Can you try to rename the 'name' of the attribute to something without spaces? It's a long shot, I know.
Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/01/2008 2:52 PM

Hi Peter,

can i rename the Custom-Attribute Name without loosing Informations or Data from this?

Thanks!

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/01/2008 3:38 PM

Hi Peter,

yes thats it we remove the space from the Attribute-Name "gefertig von", reindex the Portal and now we have also the Results in DMX.

This was my first think but i have here other Attributes that have also spaces and what works!?!??!

The Problem is that the Customer not can place every a char instead of a space.

Thank You!

 

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/01/2008 5:38 PM

We have currently verify and see that we have the same Problem also by other Custom-Attributes with Spaces in the Name.

We used by us also in a Attribute from older Version a Name with a "-" Char in when we will change a Name in the latest DMX Version we becoem a Error that only Alphanumeric Caracters is allowed.

Thank You

Guido

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/02/2008 10:54 PM
Guido,

In recent versions of DMX a check was added on the Attribute name property to make sure it has no spaces. Legacy attributes might still have spaces. This is the first time I've heard of the negative consequences of 'spaces in attribute names'. Note you can change the name without a problem. Internally an attribute is used through an ID (Integer).

Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/02/2008 11:31 PM

Peter,

we have made this and this works.

The Space comes from a older Version what we have upgraded with newer Version over the Time.

But my Customer comes with the Argument that he have a Attribute with a Space and looks stupid when the Custom-Attribute have the Name "Gefertigvon" instead of "Gefertig von" in English is mean "Sign from".

Its a good Argument from my Customer! What can i give her as Answer!?

Thank You

Guido

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/03/2008 9:18 PM
Hi Guido,
You can use the ResourceFile property for that. Add the GefertigVon.Text to the corresponding resource file and you can translate it to any language you like.
Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/07/2008 11:17 AM

Hi Peter,

the Custom-Attribute have the Name GefertigtVon, we have added in the EditEntry.ascx.de-DE.resx File followed Code but the displayed Name in the Edit-Dialog is not changed.

 
    Gefertig Von
 

Have you a Idea whats wrong here? We have tested this also for the ViewDetail and see here alo no change!?

Thank You!

Guido

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/08/2008 7:55 AM

Hi Peter,

sure is my mistake! We can define by the Custom-Attributes in one field a Resource File but must we write here a complete path to the File or simple the Filename from the Resource-File and place this in the same Directory where the other Resource-Files are located?

Thank You

Guido

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/08/2008 9:57 PM
Hi Guido,

I use paths like this for the resource file: DesktopModules/Bring2mind/DMX/Addons/Gallery/App_LocalResources/SharedResources

Peter
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
04/09/2008 4:06 PM

Hi Peter,

i have made this and now i have a localization in the EditAttributes-Wizard but not in the Search-Field-DropDown and not in the Document-Details!

But we need here also a localization for this!

Thank You

Guido

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/12/2008 12:03 AM
Have you tried restarting the application? The texts are retrieved in the same way. But maybe some stuff is cached.
Peter
You are not authorized to post a reply.