Comments (5)
それはスコアを表示するようにしたための仕様です。
Redmineの持ってるキャッシュのキーが [id, rank, scope]
(rank==score) なのです。
issue の場合は、issue の本体とコメントで別のテーブルになっていて、それぞれ別のクエリを組み立てて投げており、スコアがテーブルごとに別々に算出しているためです。
from redmine_full_text_search.
ユーザーからすると同じチケットが2つリストされる仕様はうれしくない(あれ、これ前にも見たやつだけど。。。違うのかな?とか混乱する)んですが、どうしようもないのでしょうか?
from redmine_full_text_search.
リストするときに同じIDならrankをマージして一つにまとめるとかできないのかしらとか思いますけど。。。
from redmine_full_text_search.
Redmine 側の処理を上書きすれば、できますね。
💭 現状ではRedmine側の処理を上書きしてしまっている部分だったと思うので、そこに手を入れれば可能という認識です。
from redmine_full_text_search.
Fixed. 2ef5c72
from redmine_full_text_search.
Related Issues (20)
- ActiveRecord::RecordNotFound (Couldn't find FullTextSearch::TagType with 'id'=0) HOT 3
- migrate error on pgroonga HOT 3
- インストールしようとするとデータベース(Mroonga)のマイグレーションに失敗する HOT 2
- redmine 5.0.2 ruby 3.1.2 HOT 3
- fts_targets records of custom field is not deleted when Issue is deleted HOT 2
- 削除したカスタムフィールドの単語を検索時、エラー HOT 5
- Thinking of OpenAI HOT 1
- データ同期でエラー HOT 11
- Install Error:NoMethodError: undefined method `[]’ for #<ActiveRecord::Migration:0x00055d644c05528> HOT 5
- Unnecessary parameters are added to the URL when transitioning from the search result HOT 2
- database errors HOT 2
- Syntax error query causes 500 server error HOT 1
- full_text_search:synchronize doesn't synchronize attachments in documents HOT 6
- Improve full_text_search:synchronize for Chupa Text searver change and down HOT 4
- NoMethodError&Child already added HOT 2
- Search for "rms" results in a 500 error HOT 1
- Exceeds PostgreSQL index size limit HOT 4
- Error on Rails6 HOT 5
- Search Knowledgebase articles HOT 4
- Proposal to improve database recovery procedure HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_full_text_search.