lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Williams" <ch...@manawiz.com>
Subject RE: Sorting in Lucene
Date Wed, 08 Dec 2004 00:22:41 GMT
Ramon,

Field.Keyword is definitely searchable.  I use them.  I think I use
every combination of tokenized/untokenized, index/unindexed, and
stored/unstored.  They all work.

This seems unlikely given that you tried with Luke, but do you perhaps
have an analyzer applied to the query so that the query string is
transformed before it is applied to the index?  I'd suggest printing the
query after you parse it.  Query's have a good toString() method.

Chuck

  > -----Original Message-----
  > From: Ramon Aseniero [mailto:ramon.aseniero@tryarc.com]
  > Sent: Tuesday, December 07, 2004 4:14 PM
  > To: 'Lucene Users List'
  > Subject: RE: Sorting in Lucene
  > 
  > Hi Chuck,
  > 
  > Yes I tried to search with the exact string stored on the index but
I
  > don't
  > get a match. I tried the search using LIMO and LUKE.
  > 
  > It seems like untokenized field are not searchable.
  > 
  > Thanks,
  > Ramon
  > 
  > -----Original Message-----
  > From: Chuck Williams [mailto:chuck@manawiz.com]
  > Sent: Tuesday, December 07, 2004 4:04 PM
  > To: Lucene Users List
  > Subject: RE: Sorting in Lucene
  > 
  > Since it's untokenized, are you searching with the exact string
stored
  > in the field?
  > 
  > Chuck
  > 
  >   > -----Original Message-----
  >   > From: Ramon Aseniero [mailto:ramon.aseniero@tryarc.com]
  >   > Sent: Tuesday, December 07, 2004 3:29 PM
  >   > To: 'Lucene Users List'; 'Chris Fraschetti'
  >   > Subject: RE: Sorting in Lucene
  >   >
  >   > I also tried searching the said field on LIMO and I don't get a
  > match.
  >   >
  >   > Thanks,
  >   > Ramon
  >   >
  >   > -----Original Message-----
  >   > From: Ramon Aseniero [mailto:ramon.aseniero@tryarc.com]
  >   > Sent: Tuesday, December 07, 2004 3:20 PM
  >   > To: 'Lucene Users List'; 'Chris Fraschetti'
  >   > Subject: RE: Sorting in Lucene
  >   >
  >   > Hi,
  >   >
  >   > I use LIMO to look into my index. Limo tells me that the field
is
  >   > untokenized but is indexed.
  >   >
  >   > Is it possible to search on untokenized field?
  >   >
  >   > Thanks,
  >   > Ramon
  >   >
  >   > -----Original Message-----
  >   > From: Chris Fraschetti [mailto:fraschetti@gmail.com]
  >   > Sent: Tuesday, December 07, 2004 3:14 PM
  >   > To: Lucene Users List
  >   > Subject: Re: Sorting in Lucene
  >   >
  >   > I would try 'luke' to look at your index and use it's search
  >   > functionality to make sure it's now your code that is the
problem,
  > as
  >   > well as to ensure  your document is appearing in the index as
you
  >   > intend it. It's been a lifesaver for me.
  >   >
  >   > http://www.getopt.org/luke/
  >   >
  >   >
  >   > On Tue, 7 Dec 2004 15:02:26 -0800, Ramon Aseniero
  >   > <ramon.aseniero@tryarc.com> wrote:
  >   > > Hi All,
  >   > >
  >   > > Any idea why a Keyword field is not searchable? On my index I
have
  > a
  >   > field
  >   > > of type Keyword but I could not somehow search on the field.
  >   > >
  >   > > Thanks in advance.
  >   > >
  >   > > Ramon
  >   > >
  >   > > --
  >   > > No virus found in this outgoing message.
  >   > > Checked by AVG Anti-Virus.
  >   > > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date:
  > 12/7/2004
  >   > >
  >   > >
  >   >
  >   >
  >   > --
  >   > ___________________________________________________
  >   > Chris Fraschetti
  >   > e fraschetti@gmail.com
  >   >
  >   >
  >
---------------------------------------------------------------------
  >   > To unsubscribe, e-mail:
lucene-user-unsubscribe@jakarta.apache.org
  >   > For additional commands, e-mail:
lucene-user-help@jakarta.apache.org
  >   >
  >   >
  >   >
  >   > --
  >   > No virus found in this incoming message.
  >   > Checked by AVG Anti-Virus.
  >   > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date:
12/7/2004
  >   >
  >   >
  >   > --
  >   > No virus found in this outgoing message.
  >   > Checked by AVG Anti-Virus.
  >   > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date:
12/7/2004
  >   >
  >   >
  >   >
  >   >
  >
---------------------------------------------------------------------
  >   > To unsubscribe, e-mail:
lucene-user-unsubscribe@jakarta.apache.org
  >   > For additional commands, e-mail:
lucene-user-help@jakarta.apache.org
  >   >
  >   >
  >   >
  >   > --
  >   > No virus found in this incoming message.
  >   > Checked by AVG Anti-Virus.
  >   > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date:
12/7/2004
  >   >
  >   >
  >   > --
  >   > No virus found in this outgoing message.
  >   > Checked by AVG Anti-Virus.
  >   > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date:
12/7/2004
  >   >
  >   >
  >   >
  >   >
  >
---------------------------------------------------------------------
  >   > To unsubscribe, e-mail:
lucene-user-unsubscribe@jakarta.apache.org
  >   > For additional commands, e-mail:
lucene-user-help@jakarta.apache.org
  > 
  > 
  >
---------------------------------------------------------------------
  > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
  > For additional commands, e-mail: lucene-user-help@jakarta.apache.org
  > 
  > 
  > 
  > --
  > No virus found in this incoming message.
  > Checked by AVG Anti-Virus.
  > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date: 12/7/2004
  > 
  > 
  > --
  > No virus found in this outgoing message.
  > Checked by AVG Anti-Virus.
  > Version: 7.0.289 / Virus Database: 265.4.7 - Release Date: 12/7/2004
  > 
  > 
  > 
  >
---------------------------------------------------------------------
  > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
  > For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message