Hi yes, I'm using Apache SOLR ... its really proven stable solution with
enough documentation. In python I have used mySolr
http://mysolr.redtuna.org/en/latest/ which is actively developed and has
enough features, developers respond in github discussion etc. ... and
plays well with web2py. (I had some problems with sunburnt compatibility
with latest Apache SOLR versions and development rather slowed down if not
stopped seems to me ...)
In db.py I'm using this simple way how to keep shared connection
def __make_solr_connection():
from mysolr import Solr
connection = Solr('http://localhost:9999/solr',version=4)
print("Apache SOLR Connection established on port: 9999 ... ")
return connection
solr = cache.ram('solr',__make_solr_connection,None)
David
Dne úterý, 6. listopadu 2012 9:49:41 UTC+1 andrej burja napsal(a):
>
> Hi
>
> Did you implement this?
> After trying Whoosh (and finding dificult to implement
> stemmer/lematization for my language) i'm looking for another solution.
> Is sunburnt the best solution to use solr with python/web2py?
> Did you try solrpy?
>
> Andrej
>
> On Friday, July 6, 2012 8:45:21 PM UTC+2, David Marko wrote:
>>
>> Anyone using Sunburnt for Apache SOLR access from web2py? (
>> http://opensource.timetric.com/sunburnt )
>>
>> Any caveats I should expect or no problems on the path? (I mean sunburt
>> vs./in web2py)
>>
>>
>> Thank you ...
>> David
>>
>>
>>
--