I think you're missing the point of the request for more info. What
analyzer do you use at index time? Query time? Do you have any
idea what tokens are actually indexed (try using Luke).
StandardAnalyzer will split your tokens out a lot of different ways, and
you can get things that *look* like ma
Well, this could get to be a really ugly query. Let's say you have 10 lines.
Then the
doc would have 10 different fields? ("line1", "line2" etc.)? Then to search
it
you have to have an or clause across all fields. And a file with 100,000
lines would be
a 100,000 term query.. Or I misunderstand
Have you looked at BooleanQuery?
Best
Erick
On Fri, Aug 1, 2008 at 1:04 PM, Siti Rochimah <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm a new user for Lucene.
>
> I would like to make search-engine program with program-generated query
> rather than user-input query. If anyone knows how to make a quer