question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some fields are cut before ")"

See original GitHub issue

Node : v10.19.0 NPM : 6.14.4

Hello, In Search UI, some fields are cut before “)”. Example : field1 with value [“XXXXX (X/X)”, “XXXXX (X/X)”, “XXXXX (X/X)”] This shows well in App Search administration but is cut after first “)” in Search UI. After a search, it fully shows the field, with highlight, but still cut results from other matchs… This is the code I’m using.

const configurationOptions = {
    ...
    searchQuery: {
...
        result_fields: {
...
            field1: {snippet: {size: 999, fallback: true}}
        },
        facets: {
...
            field1: { type: "value", size: 100 },
...
        }
    }
};

To solve this, I switched to

const configurationOptions = {
    ...
    searchQuery: {
...
        result_fields: {
...
            field1: {raw:{}}
        },
        facets: {
...
            field1: { type: "value", size: 100 },
...
        }
    }
};

But now, I’ve lost snipet highlight. But the field fully shows.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
JasonStoltzcommented, Apr 2, 2020

Oh, OK. So you mean they show up like this? “XXXXX (X/X”?

0reactions
JasonStoltzcommented, Jul 31, 2020

I’ve confirmed this issue on all versions of App Search. I opened an issue with the App Search team. I am closing this issue for now as we will not address it directly in Search UI.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to cut (select) a field from text line counting from the end?
Reverse the input before and after cut with rev : ... matches any number of non-comma charecter followed by a comma, i.e. any...
Read more >
How to use cut command in bash to show all columns except ...
Using cut : cut -d ' ' -f 2- input-file. should do what you want.
Read more >
Fix data that is cut off in cells - Microsoft Support
Fix data that is cut off in cells by having the text wrap automatically, changing the alignment, decreasing the font size to fit...
Read more >
cut — Cut out selected fields from each line of a file - IBM
cut reads input from files, each specified with the file argument, and selectively copies sections of the input lines to the standard output...
Read more >
cut -- selectively display fields or characters from input lines
cut reads input from files and selectively copies sections of the input lines ... to include only the last entire character before the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found