This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldType | |
name="trigram" | |
stored="true" | |
class="solr.StrField"> | |
<analyzer type="index"> | |
<tokenizer | |
class="solr.analysis.NGramTokenizerFactory" | |
minGramSize="3" | |
maxGramSize="5" | |
/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import time | |
class Unblocker(threading.Thread): | |
"""Release `lock` after `t` seconds. | |
""" | |
def __init__(self, lock, t): | |
self.lock = lock | |
self.time = t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(richard garibaldi):~/SetJam/setjam/setjam% ./manage.pyTraceback (most recent call last): | |
File "./manage.py", line 15, in <module> | |
execute_manager(settings) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/core/management/__init__.py", line 338, in execute_manager | |
setup_environ(settings_mod) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/core/management/__init__.py", line 316, in setup_environ | |
project_module = __import__(project_name, {}, {}, ['']) | |
File "/Users/richard/SetJam/setjam/setjam/../setjam/__init__.py", line 33, in <module> | |
getattr(settings, 'LOG_FILE', "logs/setjam.log"), | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Django-1.0.2_final-py2.6.egg/django/conf/__init__.py", line 28, in __getattr__ |
NewerOlder