Search the Community
Showing results for tags 'php-java-bridge'.
-
hi guys, i have problem write java class in php via php java bridge. i try write this java code in php: http://www.lucenetutorial.com/lucene-in-5-minutes.html when i found this line: IndexReader reader = DirectoryReader.open(index); i dont get it how to write it in php. i've tried but error result. in DirectoryReader class, i found: public static DirectoryReader open(Directory directory) throws IOException { return StandardDirectoryReader.open(directory, null, 1); } but, when it be like this: Query q = new QueryParser(Version.LUCENE_40, "content", analyzer).parse(querystr); i write in php like below: $query = new Query\QueryParser($version->LUCENE_43,'content',$analyzer); $query->parse($querystr); it's no error. so, could you help me how to write it in php?? thanks in advance.
-
- php-java-bridge
- java
-
(and 1 more)
Tagged with:
-
hi guys, i m gonna use php-java-bridge for integrating a java library to my website, i've tried install it to my tomcat but not work, can you all help for this, how to install pjb, so that when i hosting my web to hosting server it can run well along with pjb. really need ur help. thanks so much b4.