I am overriding getFieldQuery(String field, String fieldText,boolean
quoted). And in case of phrase query,
getFieldQuery(String field, String queryText, int slop) will be called.
And prefix query will not be my use case. So, we can ignore prefix query.
Assume this is my only case. Sequence of
This is likely tricky to do correctly.
E.g., MultiFieldQueryParser.getFieldQuery is invoked on whole chunks
of text. If you search for:
apple orange
I suspect it won't do what you want, since the whole string "apple
orange" is passed to getFieldQuery.
How do you want to handle e.g. a phrase
I need to perform *fuzzy search* for the whole search term. I
extended MultiFieldQueryParser and overridden getFieldQuery()
protected Query getFieldQuery(String field, String fieldText,boolean
quoted) throws ParseException{
return *super.getFuzzyQuery(field,fieldText,3.0f);
//construct
www.flax.co.uk
> On 13 May 2016, at 22:33, Daniel Bigham wrote:
>> I am experimenting with supporting synonyms on the query side by doing query
> > expansion.
>> For example, the query "open webpage" can be expanded if the following things
> > are synonyms:
This looks like a bug - can you open a JIRA ticket?
Alan Woodward
www.flax.co.uk
On 13 May 2016, at 22:33, Daniel Bigham wrote:
> I am experimenting with supporting synonyms on the query side by doing query
> expansion.
>
> For example, the query "open webpage"
I am experimenting with supporting synonyms on the query side by doing
query expansion.
For example, the query "open webpage" can be expanded if the following
things are synonyms:
"open" | "go to"
This becomes the following: (I'm using both the stop w
6:26 PM, Daniel Bigham wrote:
I'm investigating various ways of supporting synonyms in Lucene.
One such approach that looks potentially interesting is to do a kind of
"query expansion".
For example, if the user searches for "us 1888", one might expand the
query as follo
I'm investigating various ways of supporting synonyms in Lucene.
One such approach that looks potentially interesting is to do a kind of
"query expansion".
For example, if the user searches for "us 1888", one might expand the
query as follows:
Span
We don't commonly use the term "query expansion" for Lucene and Solr, but I
would say that there are two categories of "QE":
1. Lightweight QE, by which I mean things like synonym expansion, stemming,
stopword removal, spellcheck, and anything else that modifies the r
I was reading a paper about Query Expansion (
http://search.fub.it/claudio/pdf/CSUR-2012.pdf) and it said: "For instance,
Google Enterprise, MySQL and Lucene provide the user with an AQE facility
that can be turned on or off."
I searched through the Lucene 4.1.0 source code, which is w
Hi,
I'm looking for a way to implement multi term synonym query expansion i.e.,
I would like to expend phrase query like "big dog" to return documents
containing "big hush puppies".
This implementation should support queries with lucene query parser syntax
i.e., queries l
Hi,
Does lucene have a query expansion class () which works regardless of the
intended language (e.g., it shouldn’t be based on Wordnet).
It doesn’t matter if the expanded terms can be stored in the index or can be
obtained in the run time.
I googled and found SynonymAnalyzer however, I
-BM25/
Best Regards.
José Ramón Perez Aguera wrote:
Hi Grant,
Our query expansion approach is quite simple, we apply
pseudo-relevance feedback techniques, where a number of top retrieved
documents are used to extract the terms candidates to expand the
original query. We have used
Hi Grant,
Our query expansion approach is quite simple, we apply pseudo-
relevance feedback techniques, where a number of top retrieved
documents are used to extract the terms candidates to expand the
original query. We have used TermPositions in query time to extract
the term statistics
amón Pérez Agüera wrote:
Hello,
We have implemented a research module for lucene using BM25 and our
structured version of BM25 as ranking functions and a couple of
state-of-art query expansion algoritms.
This implementation is quite different to other query expansion
modules for Lucene that are av
Hello,
We have implemented a research module for lucene using BM25 and our
structured version of BM25 as ranking functions and a couple of
state-of-art query expansion algoritms.
This implementation is quite different to other query expansion
modules for Lucene that are available in the web.
We
16 matches
Mail list logo