Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manticore Crashes with Fatal error if index_field_lengths is enabled in table settings #2862

Open
5 tasks
mohdmsl opened this issue Dec 17, 2024 · 5 comments
Open
5 tasks
Assignees
Labels

Comments

@mohdmsl
Copy link

mohdmsl commented Dec 17, 2024

Bug Description:

Manticore crashes with fatal error while inserting data on index where index_field_lengths = '1'
Crash!!! Handling signal 11

Reproducible example:

create table test ( title text ) index_exact_words='1' index_field_lengths = '1' engine='columnar';
insert into test values ( 1, 'yellow bag' ), ( 2, 'white bag' );

Manticore Search Version:

6.3.8

Operating System Version:

linux

Have you tried the latest development version?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated
@mohdmsl mohdmsl added the bug label Dec 17, 2024
@mohdmsl
Copy link
Author

mohdmsl commented Dec 18, 2024

@sanikolaev can you please have a look here

@tomatolog
Copy link
Contributor

seems columnar library does not support internal attribute token_count - you can not use index_field_lengths option with the engine='columnar'

@mohdmsl
Copy link
Author

mohdmsl commented Dec 18, 2024

But it allows to create the index with this option

@tomatolog
Copy link
Contributor

seems like a bug that should be fixed as:

  • produce error on index create
    or
  • fix mcl library to support that type of the attribute

@mohdmsl
Copy link
Author

mohdmsl commented Dec 18, 2024

Option 2 would be better. if its fixed under mcl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants