Re: termquery beginners question

2006-06-26 Thread James Pine
Hey, I do not think mergeBooleanQueries is necessary. It sounds like what you want to do is this: Query userEntered = QueryParser.parse("foo bar"); Query otherQuery = new TermQuery(new Term("myfield","abc defg")); BooleanQuery completeQuery = new BooleanQuery(); completeQuery.add(userEntered,tru

termquery beginners question

2006-06-25 Thread zzzzz shalev
i apologize in advance for the question. i am running lucene 1.4.3 (prefer not to use the keywordanalyzer) i need to mix a user entered query along with a search on keyword indexed fields how would i search for an exact phrase using a term query on a keyword field while searchin