Re: Google like search

2010-12-16 Thread satya swaroop
Hi All, Thanks for your suggestions.. I got the result of what i expected.. Cheers, Satya

Re: Google like search

2010-12-14 Thread Bhavnik Gajjar
Hi Satya, Coming to your original question, there is one possibility to make Solr emit snippets like Google. Solr query syntax goes like, http://localhost:8080/solr/DefaultInstance/select/?q=java&version=2.2&start=0&rows=10&indent=on&hl=true&hl.snippets=5&hl.fl=Field_Text&fl=Field_Text Note tha

Re: Google like search

2010-12-14 Thread Tanguy Moal
To do so, you have several possibilities, I don't know if there is a best one. It depends pretty much on the format of the input file(s), your affinities with a given programing language,some libraries you might need and the time you're ready to spend on this task. Consider having a look at SolrJ

Re: Google like search

2010-12-14 Thread satya swaroop
Hi Tanguy, Thanks for ur reply. sorry to ask this type of question. how can we index each chapter of a file as seperate document.As for i know we just give the path of file to solr to index it... Can u provide me any sources for this type... I mean any blogs or wiki's... Regards,

Re: Google like search

2010-12-14 Thread Tanguy Moal
r-user@lucene.apache.org > Subject: Re: Google like search > > Hi Tanguy, >                  I am not asking for highlighting.. I think it can be > explained with an example.. Here i illustarte it:: > > when i post the query like dis:: > > http://localhost:8080/solr/selec

RE: Google like search

2010-12-14 Thread Dave Searle
: solr-user@lucene.apache.org Subject: Re: Google like search Hi Tanguy, I am not asking for highlighting.. I think it can be explained with an example.. Here i illustarte it:: when i post the query like dis:: http://localhost:8080/solr/select?q=Java&version=2.2&start=0

Re: Google like search

2010-12-14 Thread satya swaroop
Hi Tanguy, I am not asking for highlighting.. I think it can be explained with an example.. Here i illustarte it:: when i post the query like dis:: http://localhost:8080/solr/select?q=Java&version=2.2&start=0&rows=10&indent=on i Would be getting the result as follows:: - - 0 1

Re: Google like search

2010-12-14 Thread Tanguy Moal
Hi Satya, I think what you'e looking for is called "highlighting" in the sense of "highlighting" the query terms in their matching context. You could start by googling "solr highlight", surely the first results will make sense. Solr's wiki results are usually a good entry point : http://wiki.apa