I would like to use MultiFieldQueryParser to serach multiple fields, then in
each field, I want to use fuzzy search. How can that be done? Any example
will be appreciated.
Thanks,
Andy
You can create your own BooleanQuery and just add clauses as you need to
as well...
Best
Erick
On Mon, Oct 18, 2010 at 1:55 PM, Nilesh Vijaywargiay wrote:
> I have many fields in my document and want to parse my query including each
> of them
>
> QueryParser parser = new QueryParser(Version.LUC
I do not have much to present at this moment but I will attend. Thanks.
Qi
On Mon, Oct 18, 2010 at 3:19 PM, Erik Hatcher wrote:
> Count me in for any kind of Lucene/Solr hanging out in Atlanta.
>
>Erik
>
>
> On Oct 18, 2010, at 14:57 , Grant Ingersoll wrote:
>
> > Is there interest in
Count me in for any kind of Lucene/Solr hanging out in Atlanta.
Erik
On Oct 18, 2010, at 14:57 , Grant Ingersoll wrote:
> Is there interest in having a Meetup at ApacheCon? Who's going? Would
> anyone like to present? We could do something less formal, too, and just
> have drinks a
Is there interest in having a Meetup at ApacheCon? Who's going? Would anyone
like to present? We could do something less formal, too, and just have drinks
and Q&A/networking. Thoughts?
-Grant
-
To unsubscribe, e-mail: java
You can use *MultiFieldQueryParser*.
http://lucene.apache.org/java/2_9_3/api/all/org/apache/lucene/queryParser/MultiFieldQueryParser.html
2010/10/18 Nilesh Vijaywargiay
> I have many fields in my document and want to parse my query including each
> of them
>
> QueryParser parser = new QueryPars
I have many fields in my document and want to parse my query including each
of them
QueryParser parser = new QueryParser(Version.LUCENE_29, "Field2",new
StandardAnalyzer(Version.LUCENE_29));
Should I create multiple parsers in this case or is there any other way
round?
Thanks Mark, the call reader.docFreq(categoryTerm) is certainly a good
way to get the nominator part of the IDF formula
(http://en.wikipedia.org/wiki/Tf%E2%80%93idf#Mathematical_details).
However, what is left to get is the denominator. For this I want the
number of in-category documents that each
Can you not just call reader.docFreq(categoryTerm) ?
The returned figure includes deleted docs but then the search term uses this
method too so should suffer from the same inaccuracy.
Cheers
Mark
- Original Message
From: Max Jakob
To: java-user@lucene.apache.org
Sent: Mon, 18 Octobe
Hi,
I would like to change the IDF value of the Lucene similarity
computation to "inverse document frequency inside category". Not the
complete collection should be considered, but only the documents that
have a certain category. The categories are stored as separate fields.
The implementation be
10 matches
Mail list logo