the spans of either clause1 or clause2.
Vishal
On 4/22/06, Paul Elschot [EMAIL PROTECTED] wrote:
On Friday 21 April 2006 21:11, Vishal Bathija wrote:
Hi,
I am trying to get the frequency of a phrase using the SpanNearQuery.
How can I use SpanNearQuery for boolean queries. The code I have
= new SpanNearQuery(clauses, 0, true);
Spans spans = near.getSpans(rd);
Regards
Vishal
On 4/19/06, Daniel Naber [EMAIL PROTECTED] wrote:
On Mittwoch 19 April 2006 07:25, Vishal Bathija wrote:
Query= contents:provides distribution contents:supports
distribution
Why
= searcher.search(query);
How can I extend this to search for multiple phrases?
Regards
Vishal
--
Vishal Bathija
Graduate Student
Department of Computer Science Systems Analysis
Miami University
Oxford,Ohio
Phone: (513)-461-9239
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Vishal Bathija
Graduate Student
Department of Computer Science Systems Analysis
Miami University
Oxford,Ohio
Phone: (513)-461-9239
used during indexing. Be
aware that matches are *exact* including case.
Erik
On Apr 17, 2006, at 1:34 AM, Vishal Bathija wrote:
Hi,
I am not able to retrieve the number of hits for a particular phrase .
The code below retrieves the hits only for certain phrases. The code
PROTECTED] wrote:
Are the terms you're adding to PhraseQuery lowercased? If not, then
that is most likely the issue.
Erik
On Apr 17, 2006, at 9:39 AM, Vishal Bathija wrote:
I currently use
writer = new IndexWriter(index, new StandardAnalyzer(),true);
Should I use any other
such as
Prevents Data Loss
I am not sure what the problem could be as none of these phrases have
any special characters. Do I need to use any other type of query?
Regards
Vishal
--
Vishal Bathija
Graduate Student
Department of Computer Science Systems Analysis
Miami University
Oxford,Ohio
.
Any suggestions would be greatly appreciated.
Kind Regards
Vishal Bathija
--
Vishal Bathija
Graduate Student
Department of Computer Science Systems Analysis
Miami University
Oxford,Ohio
Phone: (513)-461-9239