On Thu, Apr 5, 2012 at 2:43 PM, Ludovic Dubost <ludo...@xwiki.com> wrote: > Hi Savitha, > > This is quite cool. I'm quite impressed at the speed you learned to do > components and manage to do a first basic implementation. > It indeed seems to show that SOLR is a good choice. > > I've one remark which is the usage of a SOLR Embedded server. I think one > of the interesting features of SOLR is also that we can split the search > engine which the XWiki engine. > I think that is a heritage of my initial code... Anyway I think it's just a matter of initialization:
SolrServer server = new CommonsHttpSolrServer("http://HOST:8983/solr/"); or SolrServer server = new EmbeddedSolrServer(); See: http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer > It would be great to have the choice between both solutions (embedded and > not embedded). By default we would bundle the embedded version and for high > performance installation it should be possible to separate the SOLR engine > and still share most of the logic. > > Keep up the good work > > Ludovic > > 2012/4/5 savitha sundaramurthy <savitha.s...@gmail.com> > >> Hi Paul, >> >> Here is the link to the document >> >> >> https://docs.google.com/document/pub?id=1-2GqvjtzS_a8TRKDNsom9egDZHTT5xIzUf1Chdk9f3A >> >> Thanks a lot, >> Savitha >> >> >> > On Wed, Apr 4, 2012 at 12:03 PM, Paul Libbrecht <p...@hoplahup.net> >> wrote: >> > >> >> Hi Savitha, >> >> >> >> things are moving. This is good. >> >> >> >> Do you have a (temporary) server address where this could be tested? >> >> (maybe best over IRC?). >> >> Or, how could I build your code and inject it on a fresh XWiki? >> >> >> >> Le 4 avr. 2012 à 18:46, savitha sundaramurthy a écrit : >> >> > I went through Fabio Mancinelli's code and with the help of >> few >> >> > inputs from there , I have implemented a basic search functionality >> >> using >> >> > solr. It also fixes the issue http://jira.xwiki.org/browse/XWIKI-6226. >> I >> >> > have indexed the page in English, french and Spanish. I have >> implemented >> >> > these main functionality: >> >> > >> >> > 1) Simple text search using solr. >> >> > 2) Used *Extended Dismax Parser *to customize search relevancy using >> >> boost >> >> > index. >> >> >> >> which fixes well the apostrophe case for sure (and a zillion other >> >> ambiguities, and another zillion power user tricks). >> >> >> >> > 3) Hit highlighting for English. >> >> >> >> This is a good usage of solr. >> >> >> >> > Below is the link to the source code >> >> > https://github.com/savis/xwiki-platform-search >> >> > XWiki front end , HTML and Velocity code >> >> > >> >> > https://gist.github.com/2295648 >> >> > >> >> > I wanted to send a pull request but I was playing around when renaming >> >> my >> >> > username and deleted the forked repository and I'm having difficulty >> >> > forking it again. So I have created a new repository and shared the >> code >> >> > above. >> >> >> >> I think forking is really useful. If not today, it will be needed any >> day >> >> soon. >> >> We need to see the diffs. >> >> Best would be to create the fork again, then copy your files and let git >> >> give us the diff. >> >> >> >> > I have taken few screen shots and have attached the document. >> >> >> >> where? >> >> >> >> > I'm working on my application and it should be done today. >> >> >> >> What is the planned schedule? >> >> >> >> paul >> >> _______________________________________________ >> >> devs mailing list >> >> devs@xwiki.org >> >> http://lists.xwiki.org/mailman/listinfo/devs >> >> >> > >> > >> > >> > -- >> > best regards, >> > Savitha.s >> > >> >> >> >> >> -- >> best regards, >> Savitha.s >> _______________________________________________ >> devs mailing list >> devs@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/devs >> > > > > -- > Ludovic Dubost > Founder and CEO > Blog: http://blog.ludovic.org/ > XWiki: http://www.xwiki.com > Skype: ldubost GTalk: ldubost > _______________________________________________ > devs mailing list > devs@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs