Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Created by Guest
Created on Jul 19, 2018

Easier way of fixing UNK table problem (FT index thinks field is different type)

Example:

Create a field (Number), and create-save a document with that field set.

Then create FT index for database

Then change field type from Number to text, create a new doc & save

(easily done when a field looks like it can be numeric but letters need to be added eg some unique key etc)

You can no longer search on that field because the UNK table has noted it as numeric.

 

Correcting this involves admin client or making a new copy of the database.. very messy, especially with large databases.

 

Can we have a better way of fixing this ?

  • Attach files
  • Guest
    Reply
    |
    Apr 15, 2023

    I have raised ticket CS0388078 and posted on the forum - https://support.hcltechsw.com/community?id=community_question&sys_id=008742d71b8ead90a67e9759bc4bcb64 to see if I can better understand this issue and apply a data fix.

  • Guest
    Reply
    |
    Nov 29, 2021

    Moving this to the designer category.

  • Guest
    Reply
    |
    Jan 20, 2021

    Adding more information at the request of John Curtis
    https://twitter.com/john_d_curtis_/status/1351672385984987139

    The specific use case that we struggle with is date fields. We routinely stamp workflow related dates on documents e.g.status_100_dt = 20/1/2021

    Sometimes we need to set these dates to null if a document is reverted to the previous stage in the workflow. We would do this by setting status_100_dt = ""

    The problem is that if we make a new copy or replica of the application it will generate a new UNK table.

    In doing so the document where status_100_dt = "" may be used and then the UNK permanently flags this field as a text field FOR ALL INSTANCES.

    This means that the field status_100_dt can no longer be used as a date field in Full Text searches. As the UNK table is built based on NoteID and the NoteID varies between repicas / copies the UNK table will also vary between servers / replicas and copies

    It is worth noting that this behaviour can mean that an application with a scripted FT search element may work well on one server and on another identical server it does not because the code throws an error when a "text" field is used with "date" field syntax.
    status_100_dt > today works on server A and on server B throws an Unexpected Error

    Fixing this is very difficult. The data must be fixed and then the http task dropped ( our experience ) and then the application compacted.

    It is also very difficult to detect the problem in the first place, it would be great if we could see and alter the UNK table.

  • Guest
    Reply
    |
    Jan 19, 2021

    VOLT introduced a FT search in version 1.0.2 - I'm seeing this issue with a VOLT application however here we create a numeric, currency or date field and they are all seen as TEXT. Cant search for values between, less than or greater than.

  • Guest
    Reply
    |
    Aug 4, 2020

    SPR #CSAO9BFB84 is present for this issue.

  • Guest
    Reply
    |
    Jul 6, 2020

    We see this too but no, we have not yet created a ticket, Sean Cull

  • Admin
    Thomas Hampel
    Reply
    |
    Jul 21, 2018

    Have you reported this behavior in a PMR ? if so can you provide the #?

48 MERGED

Designer should be able to edit the UNK table

Merged
There should be a place within the Designer client to edit the UNK table: - to remove orphaned fields - to change the field type (text, date, number) which is needed for fulltext searches. Currently once a field type is set, it never can be chan...
over 5 years ago in Domino Designer 4 Under Consideration
11 MERGED

Reset the UNK table without shutting down the server

Merged
This option will allow the server to reset data on the UNK Table without shutting down. Mail.box cannot be taken offline for compact -C. The server needs to be shut down to do this. Or recreate the mail.box Customer is having an issue with th...
almost 4 years ago in Domino Designer 0 Under Consideration