Re: Strange output

2009-02-15 Thread Abu Abdulla
I'm using this for searching (extracted and not full code): IndexSearcher indexSearcher = new IndexSearcher("index"); final QueryParser queryParser = new QueryParser("Line", myAnalyzer); queryParser.setAllowLeadingWildcard(true); final Query query = queryParser.parse(searchText); final BitSet

Strange output

2009-02-09 Thread Abu Abdulla
Hi, I'm getting this message regularly: Whats that? wkey 0x42 (66) any hints. thanks -- View this message in context: http://www.nabble.com/Strange-output-tp21927297p21927297.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Re: Deleting the result from a query or a filter and not a documents specified by Term

2007-08-19 Thread Abu Abdulla alhanbali
Greatly appreciated. It works perfect. On 8/19/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : Is there a way to delete the results from a query or a filter and not > : documents specified by Term. I have seen some explanations here but i do > not > : know how to do it: > : > : > http://www.n

Re: Deleting the result from a query or a filter and not a documents specified by Term

2007-08-18 Thread Abu Abdulla alhanbali
: IndexerReader.deleteDocuments(new Term(field, query)); I do not know how to do it. Appreciate your help, On 8/18/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > I don't understand what you mean by that. Could you give a couple > of examples? > > Best > Erick > > On 8/1

Deleting the result from a query or a filter and not a documents specified by Term

2007-08-17 Thread Abu Abdulla alhanbali
Hi, Is there a way to delete the results from a query or a filter and not documents specified by Term. I have seen some explanations here but i do not know how to do it: http://www.nabble.com/Batch-deletions-of-Records-from-index-tf615674.html#a1644740 Thanks in advanced

Re: formalizing a query

2007-08-17 Thread Abu Abdulla
ieldQueryParser.parse(String[] queries, String[] fields, > BooleanClause.Occur[] flags, > Analyzer analyzer) > > The flags arrray will get u ORs and ANDs in places u need > > - Sagar Naik > > Abu Abdulla alhanbali wrote: >> Thanks for the help, >> >&g

Re: formalizing a query

2007-08-14 Thread Abu Abdulla alhanbali
t'll allow you to form > queries > and see the results and you can then answer this kind of question as well > as many others. > > Meanwhile, please see > http://lucene.apache.org/java/docs/queryparsersyntax.html > > Erick > > On 8/10/07, Abu Abdulla alhanbali <[E

formalizing a query

2007-08-09 Thread Abu Abdulla alhanbali
Hi, I need your help in formalizing this query: (field1:query1 AND field2:query2) OR (field1:query3 AND field2:query4) OR (field1:query5 AND field2:query6) OR (field1:query7 AND field2:query8) ... etc Please give the code since I'm new to lucene how we can use MultiFieldQueryParser or any parser