solr

curl to python requests conversion for solr query

curl to python requests conversion for solr query Question: I have a bit of a bizzare problem. I have a solr index, which I query using curl like so: curl ‘http://localhost:8984/solr/my_index/select?indent=on&q="galvin%20life%20sciences"~0&wt=json&sort=_docid_%20desc&rows=5’ and I get (note the q string and the tilde operator which I use for proximity search): { "responseHeader":{ "status":0, "QTime":1, "params":{ "q":""galvin life …

Total answers: 1

Using Solr-Docker with python return a wrong results

Using Solr-Docker with python return a wrong results Question: I have a flask app which runs in a Docker container and I wanted to use Solr with it for indexing and searching, so I built a container for Solr using the Solr official image and used it with my app using docker-compose. In the app …

Total answers: 1

Django Haystack update index only for 1 model

Django Haystack update index only for 1 model Question: I am currently trying out Django haystack to update data from PostgreSQL to a solr collection. So, I have defined 2 models in search_indexes.py. So, when I run the command python manage.py update_index it indexes the data from both the models defined in search_indexes.py to my …

Total answers: 1

Full text search: Whoosh Vs SOLR

Full text search: Whoosh Vs SOLR Question: I am working on a Django project, where I need to implement full text search. I have seen SOLR and found some good comments for the same. But as its implemented in Java and would need java enviroment to be installed on the system along with Python. Looking …

Total answers: 2