Re: nxlucene persistent transport
Julien Anguenot <[email protected]> Tue, 01 May 2007 16:36:44 +0000
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Organization | Nuxeo SAS |
| Message-ID | <[email protected]> |
Jean-Marc Orliaguet wrote:
> Julien Anguenot wrote:
>> Jean-Marc Orliaguet wrote:
>>
>>> Julien Anguenot wrote:
>>>
>>>> Jean-Marc Orliaguet wrote:
>>>>
>>
>> [...]
>>
>>
>>>> Has your PyLucene 2.x branch finally been merged on trunk for
>>>> NXLucene ?
>>>>
>>
>> [...]
>>
>>
>>> not yet been merged as I see, by the way the thread patch can be
>>> removed. pylucene2 has it already (I'm going to check in the change).
>>>
>>
>> for the patch, I backported it from the 2.x branch at that time when
>> they introduced it. So yes useless right now.
>>
>> J.
>>
>>
>
> OK, I've just removed it. BTW there is one test that fails, it says:
ok.
> class LuceneServerTestCase(unittest.TestCase):
> def test_reindexing(self):
> ....
> # Reindexing just one field cleares unstored fields. This is a known
> # problem with Lucene, for which we have no solution at the moment.
> # So the following test which demonstrates this) is currently
> # commented out.
> ## Search o2 on fulltext (no return fields)
> res = self._server.searchQuery(return_fields=(),
> search_fields=({'id' : u'fulltext',
> 'value':
> u'object2'},))
>
> res = PythonResultSet(ResultSet(res)).getResults()[0]
> self.assertEqual(res, ({u'uid': u'2'},),)
>
> should it be commented out as it says in the comment?
Yes, this is a Lucene limitation related to document updates and
unstored fields. AFAIK, there is no workaround yet for this...
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGN2ydGhoG8MxZ/pIRAlkzAJ9w3oKj6Ct1Bn/5GJ2Qc+BqZbB9eQCdHNRc wgHbTg54S2IDI3ZmOT3QxTE= =95VK -----END PGP SIGNATURE-----