Hi
On 10/10/13 11:07, G.Long wrote:
Hi Sergey :)

You're right, I could use custom objects instead but I thought it would
be easier to have a generic method which returns a list of Document and
this way I'm sure I get the full object. Creating custom models to
retrieve the information in different ways means possibly create a
method in the webservice for each type of returned model.

What I really meant was, why the client even need to know Lucene is used on the server side, and deal with Lucene artifacts ?

Well, if using Lucene objects with cxf implies complicated source code
modifications, I'll go with the custom models option :)
Should be simpler and better, yes

Cheers, Sergey

Regards, Gary


Le 10/10/2013 11:25, Sergey Beryozkin a écrit :
Hi
On 10/10/13 09:17, G.Long wrote:
Hi :)

I'm trying to query a lucene index through a custom web service built
with Apache CXF but it doesn't work correctly.  I want my webservice to
return a List of Lucene Document objects. On  client side, the returned
list actually contains Document objects but each document has no fields
(although on server side documents are fully filled with these fields).

I assume this is a marshalling/unmarshalling problem ?
Looks like so
Did someone
already used lucene with cxf and found a solution to use Document and
Query objects through a web service call?

Why do you need to return Lucene objects directly ? I thought I'd use
them on the server side to retrieve some custom data to be returned
instead ?

Cheers, Sergey
Thanks for any help :)

Regards,

Gary





--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to