Re: Search on tokenized field

2009-01-19 Thread Michael McCandless
I send my first e-mail to java-user@lucene.apache.org and recieve the e-mail error below. Why my message no send to list ? Thanks Haroldo> To: haroldo_luc...@hotmail.com> Subject: RE: Search on tokenized field> From: supp...@magentanews.com> Date: Sat, 17 Jan 2009 14:35:4

Re: Search on tokenized field

2009-01-17 Thread Erick Erickson
Probably the easiest way to do this would be to index all the terms in the same field with a large increment gap between. See Analyzer.getPositionIncrementGap (you'll have to create your own analyzer here, probably just subclassing one of the existing ones). Once things are indexed that way, then

RE: Search on tokenized field

2009-01-17 Thread Haroldo Nascimento
Hi, I send my first e-mail to java-user@lucene.apache.org and recieve the e-mail error below. Why my message no send to list ? Thanks Haroldo> To: haroldo_luc...@hotmail.com> Subject: RE: Search on tokenized field> From: supp...@magentanews.com> Date: Sat, 17 Jan 2

Search on tokenized field

2009-01-17 Thread Haroldo Nascimento
Hi, I have a problem to do searches in fields tokenized. Initially I had associated with an advertisement 10 terms and for each term corresponded to one field in my index and the query had operations OR for the 10 fields. Now, the advertisements have more than 2,000 terms and the current s