Yep, this can be done. After all, Solr just uses Lucene under the covers, a Solr index *is* a lucene index.
That said, you must take some care that the <fieldType> definitions you specify in schema.xml are close enough to how you indexed your Lucene documents to work. Indexing something in Lucene as a string type then telling Solr that it's a TrieInt will lead to "interesting" behavior. Best Erick On Sun, Jan 29, 2012 at 8:04 AM, Sean Adams-Hiett <s...@webgeeksforhire.com> wrote: > Yes, it is possible. I have gotten it working very recently. One issue > that gave me fits was that the version of Solr I was using was 1.4 and the > version of Lucene I was using was 3.3, so I couldn't get the core to start > when Solr started. So make sure your versions match or are compatible. > Once I did that, my lucene index just started working. > > Sean > > On Sun, Jan 29, 2012 at 4:38 AM, T Vinod Gupta <tvi...@readypulse.com>wrote: > >> hi, >> i am really new to solr/lucene and doing some experiments.. i have a >> question - if i create an index using lucene, can i use solr to query >> against that index? if yes, how do i setup solr? >> >> i already have a lucene index. i just copied over the index dir as <solr >> installation dir>/examples/solr/data. But that is not making any >> difference. where am i going wrong? >> >> thanks >> > > > > -- > Sean Adams-Hiett > Owner, Web Geeks For Hire > phone: (361) 433.5748 > email: s...@webgeeksforhire.com > web: www.webgeeksforhire.com > twitter: @geekbusiness <http://twitter.com/geekbusiness>