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

FTS does not work in projects migrated from 6.5 or earlier #34

Open
IskandarovRost opened this issue Aug 20, 2018 · 1 comment
Open
Assignees
Labels
no solution yet type: bug Something isn't working

Comments

@IskandarovRost
Copy link

See: https://www.cuba-platform.com/discuss/t/demo-not-woking-fts/6163

Environment

  • Platform version: 6.9.5

Description of the bug or enhancement

  • Minimal reproducible example
  1. Create a project on the platform version 6.5
  2. Enable FTS
  3. ReindexAll and ProcessQueue
  4. Migrate the project to 6.9, update Db
  5. Launch Reindex all or try to search something
  • Actual behavior The index could not be deleted and FTS also doews not work
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path="D:\studioSN\2018.08.16\fts65\deploy\tomcat\work\app-core\ftsindex\segments_3"))): this index is too old (version: 5.3.0). This version of Lucene only supports indexes created with release 6.0 and later.

Alternative script:

  1. Open https://demo.cuba-platform.com/app/#!
  2. Try to search something
@alexbudarov
Copy link
Member

The worst problem here is that you can't repair FTS indices without stopping the server.
You have to:

  • stop the server
  • delete indices from the disk (rm -rf $tomcatDir/work/app-core/ftsindex)
  • start the server and reindex from scratch.

This is very inconvenient.

@knstvk knstvk removed this from the Release 6.9 milestone Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no solution yet type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants