Re: is it possible to remove response header from the JSON fromat?

2011-08-18 Thread Filype Pereira
I reckon you can use omitHeader=true on the URL, hope that it helps

On Thu, Aug 18, 2011 at 5:21 PM, nagarjuna nagarjuna.avul...@gmail.comwrote:

 Thank u very much for ur reply   Erik Hatcher...
  actually i thought to use my solr response in Jquery page.

 i have one sample url

 http://api.geonames.org/postalCodeSearchJSON?postalcode=9011maxRows=10username=demo

 http://api.geonames.org/postalCodeSearchJSON?postalcode=9011maxRows=10username=demo
 which will produce json response and i successfully got the data from that
 url but i am unable to get the data from my solr url which will give the
 following response

 {
  response:{numFound:20,start:0,docs:[
  {
keywords:test},
  {
keywords:test},
  {
keywords:test},
  {
keywords:Test},
  {
keywords:test},
  {
keywords:test},
  {
keywords:test},
  {
keywords:test},
  {
keywords:test},
  {
keywords:Test}]
  }} so i need to format the above response as pure json response but i am
 unable to do that...so please help me

 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/is-it-possible-to-remove-response-header-from-the-JSON-fromat-tp3261957p3263891.html
 Sent from the Solr - User mailing list archive at Nabble.com.



Re: A beginner problem

2011-07-04 Thread Filype Pereira
It's hard to find what is happening without more details about your setup.

I would start by asking the questions:

- Do you have a firewall installed?
- What opperating system do you run solr on?
- Can you ping the hostname localhost?

Filype

On Tue, Jul 5, 2011 at 4:49 AM, carmme...@qualidade.info wrote:

 I use nutch, as a search engine.  Until now nutch did the crawl and the
 search functions.  The newest version, however, delegated the search to
 solr. I don't know almost nothing about programming, but i'm able to
 follow a receipe.  So I went to the the solr site, downloaded solr and
 tried to follow the tutorial.  In the  example folder of solr, using
 java -jar start.jar  I got:

 2011-07-04 13:22:38.439:INFO::Logging to STDERR via
 org.mortbay.log.StdErrLog
 2011-07-04 13:22:38.893:INFO::jetty-6.1-SNAPSHOT
 2011-07-04 13:22:38.946:INFO::Started SocketConnector@0.0.0.0:8983

 When I tried  to go to http://localhost:8983/solr/admin/  I got:

 HTTP ERROR: 404
 Problem accessing /solr/admin/. Reason:
 NOT_FOUND

 Can someone help me with this?

 Tanks




Building a facet search filter frontend in XSLT

2011-06-29 Thread Filype Pereira
Hi all,

I am looking for some help in building a front end facet filter using XSLT.

The code I use is: http://pastebin.com/xVv9La9j

On the image attached, the checkbox should be selected. (You clicked and
submited the facet form. The URL changed)

I can use xsl:if, but there's nothing that I can use on the XML that will
let me test before outputting the input checkbox.

Has anyone done any similar thing?

I haven't seen any examples building a facet search filter frontend in XSLT,
the example.xsl that comes with solr is pretty basic, are there any other
examples in XSLT implementing the facet filters around?

Thanks,

Filype