Re: Search terms on a single instance of field

2007-07-30 Thread Rafael Rossini
Hey Jeff, I didn´t had any luck, I don´t think you´re approach is going to help me, thanks for the reply. I´ll try a solution that does not require this kind of problem. []s Rossini On 7/29/07, Jeff French [EMAIL PROTECTED] wrote: Rossini, have you had any luck with this? I don't know if

Re: Search terms on a single instance of field

2007-07-29 Thread Jeff French
Rossini, have you had any luck with this? I don't know if this solves your exact problem, but could you do something like this: 1. Use Analyzer.getPositionIncrementGap to create a gap (let's say 100) between your fieldA's. 2. Then query like this: fieldA:(termA termB~99) I did this

RE: Search terms on a single instance of field

2007-07-27 Thread Ard Schrijvers
Hello, Company AB, ...). With this I´d like to search for documents that has daniel and president on the same field, because in a same text, can exist daniel and president in different fields. Is this possible?? Not totally sure wether I understand your problem, because it does not sound

Re: Search terms on a single instance of field

2007-07-27 Thread Rafael Rossini
Actually no, Because I'd like to retrieve terms that were computed on the same instance of Field. Taking your example to ilustrate better, I have 2 documents, on documentA I structured one field, Field(fieldA, termA termB, customAnalyzer). On documentB I structured 2 fields, Field(fieldA,