I’ve searched high and low for this via Google and the Solr wiki page, and cannot find the answer.
My problem:
I’m having trouble getting the elevate.xml working. I believe the problem is that I don’t know what the “doc id” is supposed to be within the elevate.xml. For example, if I search for “ice cream” I want it to return http://www.mydomain.com/page/2 as the first result.
<query text="ice cream">
<doc id="What Goes In Here??" />
</query>
What I’ve tried:
I tried entering in that exact URL(example: http://www.mydomain.com/page/2), I’ve also searched for the page on http://localhost:8983/solr/admin/, which brings up the an XML response. I’ve taken the value from the “ID” child element (which is “9c3ec5/node/3564”) from this and tried it.
Neither of these seem to work. I’ve also restarted the service after each change (this is running on a Windows 2008R2 Server as a service)
Environment Info:
Apache Solr 1.4.1 is running on Windows Server 2008 R2 (64bit). I’m searching using the Drupal Content Management System (version 6.22). Search is working great, except for this.
Any Ideas?
Does anyone have any ideas? Do I need to reindex the content?
I found the answer to this question and documented it at http://drupal.org/node/1338914