Re: Simple query API question

2008-04-30 Thread Mark Miller
When using the API you will create a Term object that specifies the field for each term...so visually its more like field1:x or field1:y or field1:z and then a rangequery set to field2, all joined using the BooleanQuery object setting Occur.must Occur.should Occur.mustnot. Take a look at the range

Simple query API question

2008-04-30 Thread Preston Price
This should be a pretty easy question to answer but I haven't been able to figure out how to do this with the API. I want to search two fields in my index; field 1 is and ID, field 2 is a date of the form mmdd. Now I can write a query string by hand to do a search like this on both fiel