Support on-the-fly search indexing

Review Request #8601 - Created Jan. 5, 2017 and updated

Barret Rennie
Review Board
release-3.0.x
8600
reviewboard

On-the-fly search indexing is now supported for the Elasticsearch search
backend. When the option is enabled (from the search settings
administration form), the search index will be updated whenever review
requests are updated or deleted.

Additionally, the default value of the Whoosh search index has been
renamed to "search-index", which was the original default; it was
accidentally changed to "search_index" in a previous change.

Ran unit tests.

  • 0
  • 38
  • 18
  • 56
Description From Last Updated
Review Bot
Barret Rennie
Review Bot
Christian Hammond
Barret Rennie
Review Bot
Christian Hammond
Barret Rennie
Review Bot
Christian Hammond
Barret Rennie
Review Bot
Barret Rennie
Review request changed
Review Bot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/admin/siteconfig.py
        reviewboard/admin/forms.py
        reviewboard/settings.py
        reviewboard/search/search_backends/registry.py
        reviewboard/search/search_backends/whoosh.py
        reviewboard/search/tests.py
        reviewboard/search/signal_processor.py
        reviewboard/reviews/signals.py
        reviewboard/search/search_backends/elasticsearch.py
    
    Ignored Files:
        reviewboard/templates/admin/search_settings.html
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/admin/siteconfig.py
        reviewboard/admin/forms.py
        reviewboard/settings.py
        reviewboard/search/search_backends/registry.py
        reviewboard/search/search_backends/whoosh.py
        reviewboard/search/tests.py
        reviewboard/search/signal_processor.py
        reviewboard/reviews/signals.py
        reviewboard/search/search_backends/elasticsearch.py
    
    Ignored Files:
        reviewboard/templates/admin/search_settings.html
    
    
  2.  'elasticsearch' imported but unused
    
  3. reviewboard/search/signal_processor.py (Diff revision 6)
     
     
    Col: 80
     E501 line too long (105 > 79 characters)
    
  4. reviewboard/settings.py (Diff revision 6)
     
     
     'django_reset' imported but unused
    
  5. reviewboard/settings.py (Diff revision 6)
     
     
     'from settings_local import *' used; unable to detect undefined names
    
Loading...