lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to search a phrase using quotes in a query ???
Date Mon, 06 Apr 2009 21:26:42 GMT
If you have luke, you should be able to submit your query and use
the explain functionality to gain some insights into what the query
actually looks like as well....

Best
Erick

On Mon, Apr 6, 2009 at 5:24 PM, Ariel <isaacrc82@gmail.com> wrote:

> Well I have luke lucene, the index has been build fine.
> The field where I am searching is the content field.
>
> I am using the same analyzer in query and indexing time: SnowBall English
> Analyzer.
>
> I am going to submit later the snippet code.
>
> Regards
> Ariel
>
>
> On Mon, Apr 6, 2009 at 4:37 PM, Erick Erickson <erickerickson@gmail.com
> >wrote:
>
> > We really need some more data. First, I *strongly* recommend you
> > get a copy of Luke and examine your index to see what is
> > *actually* there. Google "lucene luke". That often answers
> > many questions.
> >
> > Second, query.toString is your friend. For instance, if the query
> > you provided below is all that you're submitting, it's going against
> > the default field you might have specified when you instantiated
> > your query parser.
> >
> > Third, what analyzers are you using at index and query time?
> >
> > Code snippets would also help.
> >
> > Best
> > Erick
> >
> > On Mon, Apr 6, 2009 at 4:32 PM, Ariel <isaacrc82@gmail.com> wrote:
> >
> > > Hi every body:
> > >
> > > Why when I make a query with this search  query : "the fool of the
> hill"
> > > doesn't appear documents in the search results that contains the entire
> > > phrase "the fool of the hill" and it does exist documents that contain
> > that
> > > phrase, I am using snowball analyzer for English ???
> > > Could you help with this please ???
> > > Regards
> > > Ariel
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message