Re: Payload Question

2008-12-15 Thread Todd Benge
Thanks for the help. I've been reading through some of the postings so I'll look that one up. Appreciate it. Todd On Mon, Dec 15, 2008 at 8:43 AM, Greg Shackles wrote: > Hey Todd, > > If you look for a thread I started a month or two ago, there was a pretty > good discussion of payloads (it is

Re: Payload Question

2008-12-15 Thread Greg Shackles
Hey Todd, If you look for a thread I started a month or two ago, there was a pretty good discussion of payloads (it is where I initially learned about them). In that thread should also be an explanation of the solution I ended up using for implementing payloads, so maybe that would be helpful for

Re: Payload Question

2008-12-15 Thread David Causse
Hi, After adding fields, those fields are analyzed and this is the step you are looking for. The payloads are stored on each Token, so you need your own Analyzer to do so. just use reusableToken.setPayload(myPayLoad) somewhere, look at already existing analyzers. In our case we use TokenStream

Payload Question

2008-12-14 Thread Todd Benge
Hi, I've been reading about payloads because I think we may be able to use them to solve a problem we're having involving sorts. >From the API, Payloads are set on Token classes. During indexing, Fields are added to Documents so I think I'm missing the connection of how the payloads are set into