Re: Lucene Web Service - Client Program

2008-06-02 Thread Chris Hostetter
: We are hosting Lucene as a web service (following the instructions provided : at www.lucene-ws.net) where I have provided the information regarding the : index directory and stuff and started lucene.war as a webservice. : However, there is not enough information available on their website for a

Re: Boolean Query Issue

2008-06-02 Thread Sonu Sudhakar
Sorry, The first mail I forgot to add the line for setting default QueryParser operator. I have Included that too. > This is the code I am using for search. > > public void doSearch(String userQuery, int stemFlag, int sortFlag, String[] > sortFileds) throws Exception { > > PerFieldAna

Re: Boolean Query Issue

2008-06-02 Thread Sonu Sudhakar
Hi, This is the code I am using for search. public void doSearch(String userQuery, int stemFlag, int sortFlag, String[] sortFileds) throws Exception { PerFieldAnalyzerWrapper analyzer; if (stemFlag == 1) { analyzer = new PerFieldAnalyzerWrapper(new Stemmin

Re: distributed lucene progress

2008-06-02 Thread Lukas Vlcek
FYI: The Ning's code seems to be part of Hadoop contrib package now. On Sat, May 31, 2008 at 5:35 AM, Matt Ronge <[EMAIL PROTECTED]> wrote: > > On May 21, 2008, at 3:19 PM, Otis Gospodnetic wrote: > > No, that's a separate project on SF, IIRC. >> > > I am also interested in distributed lucene. I

Re: "No tvx file" error

2008-06-02 Thread Grant Ingersoll
It can be safely ignored (in fact the warning has been removed in later versions) so I suspect your other issues are unrelated. It sounds like you are somehow not properly indexing term vectors, but would have to see some code to know for sure. Big question, what requirement is forcing you

AW: Lucene ignoring query to a field containing single character values

2008-06-02 Thread Stephan.Huth
Hi ryan, I guess you use the StandardAnalyzer with standard constructor. The standard analyzer uses a list of stopwords. And "a" is within this list. So if the StandardAnalyzer sees the token "a" he ignores it. I think a possible Solution would be to use a PerFieldAnalyzerWrapper to use a Keyw

Lucene ignoring query to a field containing single character values

2008-06-02 Thread ryan catambing
Hi All, I am using Lucene-core-2.3.2. One of the fields that I have indexed with Lucene contains a single character value which stands for a code. When I make queries using a StandardAnalyzer lucene is ignoring queries against the said field when using the required operator (+), however when tr

HitCollector and sorting

2008-06-02 Thread Konstantyn Smirnov
Hi all Currently I'm using the search method returning the Hits object. According to http://wiki.apache.org/lucene-java/ImproveSearchingSpeed one should use a HitCollector-oriented search method instead. But I need another aspect of the "Hits search(...)" method: it's sorting ability. Now my c

BooleanQuery Example

2008-06-02 Thread Aamir.Yaseen
Hi, I am new to Lucene, so asking some basic question. Is there any example/reference implementation available of Lucene Usage using BooleanQuery using API instead of QueryParser? Cheers Aamir Yaseen This e-mail is confidential and should not be used by anyone who is not the o

Re: Query works in Luke but not in code...

2008-06-02 Thread Casey Dement
Okay, I figured out my issue (well, actually a coworker spotted it - I was just too close). A word of warning: Token "termBuffer" character arrays are fixed size, not sized to the number of characters! Yep, I was dropping the term buffer into a String without start and length, thereby adding uns

Re: Boolean Query Issue

2008-06-02 Thread Erick Erickson
You need to include your code I think. This makes no sense on a quick look, so unless we see some code it'll be hard to know whether we're looking at anything relevant. Best Erick On Mon, Jun 2, 2008 at 1:19 AM, Sonu Sudhakar <[EMAIL PROTECTED]> wrote: > Hi, > > I have done some more analysis on