Thanks Erick.
MK
On 9/11/07, Erick Erickson <[EMAIL PROTECTED]> wrote:
>
> Well, it depends upon how you indexed things
>
> Your previous post was along the right lines as
> far as I can see though...
>
> Erick
>
> Assuming that you have
>
> On 9/11/07, M. K <[EMAIL PROTECTED]> wrote:
> >
> >
Well, it depends upon how you indexed things
Your previous post was along the right lines as
far as I can see though...
Erick
Assuming that you have
On 9/11/07, M. K <[EMAIL PROTECTED]> wrote:
>
> Lucene 1.4.3
>
> ignor the filter words.
> My question was:
> I have a search form which has
Lucene 1.4.3
ignor the filter words.
My question was:
I have a search form which has an input area for key search and also three
optional select boxs *Catagory, Department and Year. *
How can I implement that? Is it correct the way I wrote in my last email.
Thanks,
MK
On 9/11/07, Erick Erickso
What version of Lucene are you using? I don't think the form
b.add(query, false, false) is current.
Be that as it may, I'm not quite sure what you mean by
filter. If I'm reading your intent correctly, wouldn't requiring
each non-empty field accomplish what you want? Which would
be something like
b
I am not sure, I understant perfectly.
Is this the way you said:
document.add(Field.*UnStored*("text", docText));
document.add(Field.*Text*("category", category));
document.add(Field.*Text*("department",department));
document.add(Field.*Text*("year", year));
*search:*
String[] fields = { "tex
It's probably easier to add category, department, year as a part of query and
then requery to get the hits you need.
M.K wrote:
>
> Hi All,
>
> I have a search form which has an input area for key search and also
> three
> optional select boxs *Catagory, Department and Year. *
> My question