Re: About the field of PhraseQuery

2005-06-20 Thread Paul Elschot
On Monday 20 June 2005 08:57, Paul Libbrecht wrote: > So why is there no such constructor > PhraseQuery(String fieldName) > and a method >add(Token tok) > ?? Tradition? > That would be much more intuitive I feel! Regards, Paul Elschot > > paul > > > Le 18 juin 05, à 09:44, Paul Elschot

Re: About the field of PhraseQuery

2005-06-19 Thread Paul Libbrecht
So why is there no such constructor PhraseQuery(String fieldName) and a method add(Token tok) ?? That would be much more intuitive I feel! paul Le 18 juin 05, à 09:44, Paul Elschot a écrit : It will throw an IllegalArgumentException when a Term is added with a different field, which is pro

Re: About the field of PhraseQuery

2005-06-18 Thread Paul Elschot
On Friday 17 June 2005 22:27, Paul Libbrecht wrote: > hi, > > I spent an hour today to make my field-name feed correctly into my > phrase-query. A ridiculous bug of mine. Debugging experience seemed to > indicate that the field was the field of the first term sent. > > But it struck me that the

About the field of PhraseQuery

2005-06-17 Thread Paul Libbrecht
hi, I spent an hour today to make my field-name feed correctly into my phrase-query. A ridiculous bug of mine. Debugging experience seemed to indicate that the field was the field of the first term sent. But it struck me that the word field simply does not appear in the javadoc of PhraseQuer