new tags aren't searchable with sphinx > Invisionize.eu - IP.Board (IPB) News
Kanał Rss Kanał Rss
Kanał Atom Kanał Atom

new tags aren't searchable with sphinx

wersja drukowalna wersja Microsoft Word wersja HTML

I've noticed that new tags won't be found with the delta-searchrotate on sphinx 0.99 (or higher).

I've tagged a few topics with various tags (like testsphinx, sphinx, sphinxtest), then run the delta-rotate

"/usr/local/bin/indexer --config /conf/sphinx.conf core_tags_search_delta forums_search_posts_delta --rotate" 

The tags won't be found.

When I edit the sphinx.conf to only index tags, and do a rotate:
/usr/local/bin/indexer --config /conf/sphinx-tags.conf --all --rotate

The tags won't be found too.

When I do a complete rotate including posts, the newer tags are searchable.


I've looked into the query log, and see the reason. When searching for tags, it seems that the posts-indexes are used and not the tags-indexes

[Mon Feb 20 17:25:51.225 2012] 0.632 sec [scan/5/attr- 1 (0,25) @tid] [forums_search_posts_main, forums_search_posts_delta]

wto, 21 luty 2012

Komentarze:

Brak komentarzy

Imię/Nick:

Adres email:

Strona WWW:

Treść Komentarza: