Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - solr to index php files


+
Reid, Stephen 2012-02-02, 21:36
+
Emmanuel Espina 2012-02-02, 21:48
+
Reid, Stephen 2012-02-02, 21:53
Copy link to this message
-
Re: solr to index php files
Ahmet Arslan 2012-02-02, 22:13
> I am a  beginner with Solr and would like to index
> dynamic php files ( page.php?ID=233) and static php files
> and .shtml files.  This is for a small website, which
> hits a small MySql database on the backend, however some php
> files are static and are not part of the database.
>
> Can you tell me the best way to achieve this?

Looks like a material for nutch and solr
http://www.lucidimagination.com/blog/2010/09/10/refresh-using-nutch-with-solr/

> Also, I know that XML data is returned by default, but how
> do I go about creating a custom page for the results?

Consider using velocity response writer ( aka solaritas )
http://wiki.apache.org/solr/VelocityResponseWriter