Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Erick Erickson
e Java code. > > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > > > > -Original Message- > > > From: Erick Erickson [mailto:erickerick...@gmail.com] > >

Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Christian Bongiorno
t; > Sent: Monday, May 04, 2009 9:51 PM > > To: java-user@lucene.apache.org > > Subject: Re: multi-field index and search (Not MultiFieldQuery). Help > > setting up index and search > > > > MultiFieldQuery essentially (if I have this right) forms a "cross > >

RE: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Uwe Schindler
2009 9:51 PM > To: java-user@lucene.apache.org > Subject: Re: multi-field index and search (Not MultiFieldQuery). Help > setting up index and search > > MultiFieldQuery essentially (if I have this right) forms a "cross > product". > I.e. > it is NOT required to speci

Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Erick Erickson
MultiFieldQuery essentially (if I have this right) forms a "cross product". I.e. it is NOT required to specify specific values for discrete fields. MFQ helps form queries expressing something like "does any term appear in any field in a hit" or "Does every term appear in some field of a hit, regard

Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Christian Bongiorno
Yeah, you definitely got the idea. You're the second person to recommend putting each item in it's own document and just store the HTS code (which is easy for me). The HTS code actually comes with no extra info. I mean, there is info, but we don't store any of it. I will try as you and Paul have r

Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Erick Erickson
H, tricky. Let's see if I understand your problem. Basically, you have a bunch of HSTs that have had some number of items arbitrarily assigned to them, and you want to see if you can make Lucene behave as a kind of expert system to help you classify the next item. I *think* you'd get better r

Re: multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Paul Elschot
Christian, I suppose each ASIN represents a product by key,value pairs and an HTS code? In that case you may want to denormalize to index each ASIN as a lucene document. Then search for the most similar products in your queries by key/value pairs, using the your key as a lucene field. Such keys w

multi-field index and search (Not MultiFieldQuery). Help setting up index and search

2009-05-04 Thread Christian Bongiorno
I am trying to build a search (have been experimenting with using Lucene) and someone suggested contacting your team Background: Currently the service I am working on applies taxing/duties to products for international shipping by looking up something called an HTS code (a universally recognized t