mark harwood wrote: > Does your index have only the one document? > > MoreLikeThis will only generate queries with terms that occur in more than > "minDocFreq" (default setting is 5). > > This is to avoid the large overheads associated with searching for very > common words in your example text. > > >
Thanks very much Mark. I have specified: setMinDocFreq(0); for testing and It works... the query now isn't empty and the search return a document... So I think that the "problem" was that... Thank you Davide. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]