From: Igor Zubkov <igor.zubkov@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] sisyphus arm
Date: Tue, 17 Jul 2012 15:41:42 +0300
Message-ID: <CAJXf7QPYp6S_5qHU2YFnbpw9c5PbupFitcNQnZLa-2m793TbQw@mail.gmail.com> (raw)
In-Reply-To: <201207171456.00627.asy@altlinux.ru>
2012/7/17 Sergey Y. Afonin:
> On Tuesday 17 July 2012, Igor Zubkov wrote:
>> Это когда в поиске нет свежеобновлённых пакетов?
>
> Не свежеобновлённых. На обум попробовал clamav найти. Нашлось
> с десяток связанных пакетов, но самого его не было.
Что-то мне подсказывает что как раз где-то в логике после обновления
оно не работает. Там есть код который проверяет, а не был ли этот
пакет удалён из базы и выкидывает пакет из списка.
Вот код:
1) Выбирание пакетов --
https://github.com/biow0lf/prometheus2.0/blob/master/app/controllers/searches_controller.rb#L10
2) Выкидывание пакетов --
https://github.com/biow0lf/prometheus2.0/commit/093b9adfc7d4312324a9260502321d581d3fec79
Это сделано потому что при удаление пакетов из базы, информация о них
не удаляется из sphinx. Видимо этот код надо проверить заново. Да и
проверить с новым sphinx 2. Там появились живые индексы, может
поможет. Только пару месяцев назад thinking_sphinx (гем для поиска) их
не поддерживал.
Хотя может кто посоветует что-то другое для поиска?
--
Igor Zubkov
http://hi.im/ice
next prev parent reply other threads:[~2012-07-17 12:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 8:29 Igor Zubkov
2012-07-17 8:36 ` Michael Shigorin
2012-07-17 8:57 ` Igor Zubkov
2012-07-17 10:20 ` [devel] sisyphus arm/ppc Michael Shigorin
2012-07-17 22:20 ` [devel] sisyphus arm Dmitry V. Levin
2012-07-17 9:03 ` Sergey Y. Afonin
2012-07-17 9:19 ` Igor Zubkov
2012-07-17 9:25 ` Sergey Y. Afonin
2012-07-17 9:31 ` Igor Zubkov
2012-07-17 10:56 ` Sergey Y. Afonin
2012-07-17 12:41 ` Igor Zubkov [this message]
2012-07-18 7:47 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJXf7QPYp6S_5qHU2YFnbpw9c5PbupFitcNQnZLa-2m793TbQw@mail.gmail.com \
--to=igor.zubkov@gmail.com \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git