Re: How to display solr search results in Json format

2011-05-30 Thread bmdakshinamur...@gmail.com
Hi Romi, When querying the Solr index, use 'wt=json' as part of your query string to get the results back in json format. On Tue, May 31, 2011 at 11:35 AM, Romi wrote: > I have indexed all my database data in solr, now I want to rum search on it > and display results in JSON. what i need to do

Re: How to display solr search results in Json format

2011-05-31 Thread bmdakshinamur...@gmail.com
I am little confused about your question. Incase you are looking to access the json object returned by solr, decode the json object using a programming language of you choice. The document set can be accessed using $json['response']['docs'](in PHP). This is an array of hashes(associative arrays).

Re: Edgengram

2011-05-31 Thread bmdakshinamur...@gmail.com
Can you specify the analyzer you are using for your queries? May be you could use a KeywordAnalyzer for your queries so you don't end up matching parts of your query. http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ This should help you. On Tue,

Re: problem: zooKeeper Integration with solr

2011-06-06 Thread bmdakshinamur...@gmail.com
Instead of integrating zookeeper, you could create shards over multiple machines and specify the shards while you are querying solr. Eg: http://localhost:8983/solr/select?shards=*:/,* *:/*&indent=true&q= On Mon, Jun 6, 2011 at 5:59 PM, Mohammad Shariq wrote: > Hi folk, > I am using solr to inde