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
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.
---
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
:
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
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
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
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
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