On Fri, Dec 05, 2003 at 05:28:54PM -0500, Erik Hatcher wrote:
> On Friday, December 5, 2003, at 04:28 PM, Dror Matalon wrote:
> >Then I'm out of ideas. The next thing is for you to post your search
> >code so we can see why it's not searching the field.
>
> Giving up so easily, Dror?! :))
You'
On Friday, December 5, 2003, at 04:28 PM, Dror Matalon wrote:
Then I'm out of ideas. The next thing is for you to post your search
code so we can see why it's not searching the field.
Giving up so easily, Dror?! :))
The problem is, when using any type of QueryParser with a Keyword
field, you h
gt; From: Dror Matalon [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2003 3:32 PM
> To: Lucene Users List
> Subject: Re: Returning one result
>
>
>
> On Fri, Dec 05, 2003 at 03:14:08PM -0500, Pleasant, Tracy wrote:
> > What do you mean 'add' in MultiF
Yes it is in the list of arrays that I want searched.
-Original Message-
From: Dror Matalon [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 3:32 PM
To: Lucene Users List
Subject: Re: Returning one result
On Fri, Dec 05, 2003 at 03:14:08PM -0500, Pleasant, Tracy wrote:
> W
Mike,
Boy, I said it so badly and yet you understood :-).
Dror
On Fri, Dec 05, 2003 at 03:31:15PM -0500, Michael Giles wrote:
> Tracy,
>
> I believe what Dror was referring to was the call to
> MultiFieldQueryParser.parse(). The second argument to that call is a
> String[] of field names on
-
> From: Dror Matalon [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2003 3:06 PM
> To: Lucene Users List
> Subject: Re: Returning one result
>
>
> On Fri, Dec 05, 2003 at 02:45:34PM -0500, Pleasant, Tracy wrote:
> > Maybe we are having some communication issues
Tracy,
I believe what Dror was referring to was the call to
MultiFieldQueryParser.parse(). The second argument to that call is a
String[] of field names on which to execute the query. If the field that
contains "AR345" isn't listed in that array, you will not get any results.
-Mike
At 03:14
PM
To: Lucene Users List
Subject: Re: Returning one result
On Fri, Dec 05, 2003 at 02:45:34PM -0500, Pleasant, Tracy wrote:
> Maybe we are having some communication issues.
>
> At any rate, I did index it as a KEYWORD and when displaying used the
> TermQuery.
>
> The only problem
()
of the field for AR345 which is why the search fails.
Regards,
Dror
>
>
>
> -Original Message-
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 05, 2003 2:13 PM
> To: Lucene Users List
> Subject: Re: Returning one result
>
>
>
x27;t searched.
-Original Message-
From: Dror Matalon [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 2:14 PM
To: Lucene Users List
Subject: Re: Returning one result
On Fri, Dec 05, 2003 at 01:25:23PM -0500, Pleasant, Tracy wrote:
> What I meant is.
>
> Say ID is Ar34
.
*sigh* *arg*
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 2:13 PM
To: Lucene Users List
Subject: Re: Returning one result
On Friday, December 5, 2003, at 01:25 PM, Pleasant, Tracy wrote:
> Say ID is Ar3453 .. well the user may want
ent: Friday, December 05, 2003 11:32 AM
> To: Lucene Users List
> Subject: Re: Returning one result
>
>
> On Friday, December 5, 2003, at 10:41 AM, Pleasant, Tracy wrote:
> > Maybe I should have been more clear.
> >
> > static Field Keyword(String name, Strin
On Friday, December 5, 2003, at 01:25 PM, Pleasant, Tracy wrote:
Say ID is Ar3453 .. well the user may want to search for Ar3453, so in
order for it to be searchable then it would have to be indexed and not
a
keyword.
*arg* - we're having a serious communication issue here. My advice to
you is
;
How would I return the other fields in the document?
For instance to display a record it would get the record with the id #
and then display the title, contents, etc.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:32 AM
To: Lucene
e document?
For instance to display a record it would get the record with the id #
and then display the title, contents, etc.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 11:32 AM
To: Lucene Users List
Subject: Re: Returning one result
On Friday, December 5, 2003, at 10:41 AM, Pleasant, Tracy wrote:
Maybe I should have been more clear.
static Field Keyword(String name, String value)
Constructs a String-valued Field that is not tokenized, but
is
indexed and stored.
I need to have it tokenized because people will sear
, but it
is not used for Field.Keyword. Please provide more details on the
issue you encountered using Field.Keyword.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:18 PM
To: Lucene Users List
Subject: Re: Returning one result
You really
Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:18 PM
To: Lucene Users List
Subject: Re: Returning one result
You really should use a TermQuery in this case anyway, rather than
using QueryParser. You wouldn't have to worry about the analyz
List
Subject: Re: Returning one result
You really should use a TermQuery in this case anyway, rather than
using QueryParser. You wouldn't have to worry about the analyzer at
that point anyway (and I assume you're using Field.Keyword during
indexing).
Erik
On Thursday, December
Ok thanks, but still I can't use the Simple analyzer since it won't even
index that whole thing. I 'll give TermQuery a try. Thanks.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 6:18 PM
To: Lucene Users List
Subject: Re
You really should use a TermQuery in this case anyway, rather than
using QueryParser. You wouldn't have to worry about the analyzer at
that point anyway (and I assume you're using Field.Keyword during
indexing).
Erik
On Thursday, December 4, 2003, at 05:01 PM, Pleasant, Tracy wrote:
Ok I r
Ok I realized teh Simple Analyzer does not index numbers, so I switched
back to Standard.
-Original Message-
From: Pleasant, Tracy
Sent: Thursday, December 04, 2003 4:53 PM
To: Lucene Users List
Subject: Returning one result
I am indexing a group of items and one field , id, is unique.
22 matches
Mail list logo