Thanks for reply.
i'm using lucene search engine to search the business data on my site.
i have created index file for lucene and stored "latitude" and "longitude" .
i want to display nearest business at top from user's location.
Example:
if user is searching "car repair" in "San Diego" location then nearest result from user's location ["San Diego"]...
User Profile
Collapse
-
lucene distance search
Can any one help me .
i want to sort results by distance from particular location.
Thanks
Amit B. -
How to call java function in php?
Hello,
can any one help me to run java function in php?
java is running fine from command line.
i have added java settings in php.ini files.
but still i'm getting this error
"Fatal error: Class 'Java' not found in C:\wamp\www\tes t\javaPhp.php on line 3"
i'm using wamp for php.
is anything else needs to install?
Thanks
Amit B. -
Lucene search example
Hello,
i'm trying to compile "InMemoryExampl e.java" of lucene search
but i'm getting these errors!!
"C:\Java\ant_ho me>javac InMemoryExample .java
InMemoryExample .java:82: cannot find symbol
symbol : method UnIndexed(java. lang.String,jav a.lang.String)
location: class org.apache.luce ne.document.Fie ld
doc.add(Field.U nIndexed("title ", title));
...
No activity results to display
Show More
Leave a comment: