|
From: <rg...@sd...> - 2003-10-18 02:59:33
|
>>>>> "amigo" == amigo <am...@ma...> writes: amigo> amigo> Hi all, amigo> While playing with the Java Lucene, getting it connected to PHP amigo> I was reading some its docs and it says there that documents amigo> should be indexed and querried with the same Analyzer. amigo> amigo> Now I went back to the dll/php wrapper code supplied with amigo> CLucene and going through the dll wrapper there's alot of amigo> mixing and matching, so I wonder if that's an error or not in amigo> it, because it uses different analyzers for different things? amigo> amigo> For example: API method CL_Open goes to open/create the CLucene amigo> index with a SimpleAnalyzer, and so does the CL_Optimize and amigo> CL_Search, yet on the other hand CL_Insert_Document and amigo> CL_Delete use StandardAnalyzer. amigo> amigo> Can't say I to worried about optimize or delete right now, amigo> though they are also important functions, but shouldn't insert amigo> and search use the same analyzer? amigo> amigo> Would that be the reason that some of the queries do not come amigo> out the way they should, ie return all/proper hits? I don't know. I have to check to see if the demo program uses different analyzers. amigo> P.S. Rob excellent job on the patch, I still haven't crashed amigo> your code :-) Thanks -- I'm sure that some of the fixes will be re-done differently and better in the end. --Rob |