Kartavya
(Kartavya)
August 8, 2011, 9:04pm
1
Hi All,
I want to write a percolate query that match the document containing the
term as sub-string.
like a contains query.
Example:
a document in index like filed1:"dtfinanace"
must be returned in result if I search for "fields:"finance".
Any help will be highly appreciated.
Thnaks,
Pulkit Agrawal
ppearcy
(ppearcy)
August 8, 2011, 9:35pm
2
While you could do wildcard queries, I don't believe they are very
efficient. I'd recommend using an n-gram analyzer:
http://search.lucidimagination.com/search/document/CDRG_ch05_5.5.5
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
Best Regards,
Paul
On Aug 8, 3:04 pm, Pulkit Agrawal pulkitdot...@gmail.com wrote:
Hi All,
I want to write a percolate query that match the document containing the
term as sub-string.
like a contains query.
Example:
a document in index like filed1:"dtfinanace"
must be returned in result if I search for "fields:"finance".
Any help will be highly appreciated.
Thnaks,
Pulkit Agrawal
Kartavya
(Kartavya)
August 9, 2011, 6:02pm
3
Thanks Paul,
I will try that.
Does it work in percolate as well?
Regards,
Pulkit Agrawal
On Tue, Aug 9, 2011 at 3:05 AM, ppearcy ppearcy@gmail.com wrote:
While you could do wildcard queries, I don't believe they are very
efficient. I'd recommend using an n-gram analyzer:
http://search.lucidimagination.com/search/document/CDRG_ch05_5.5.5
Elasticsearch Platform — Find real-time answers at scale | Elastic
Best Regards,
Paul
On Aug 8, 3:04 pm, Pulkit Agrawal pulkitdot...@gmail.com wrote:
Hi All,
I want to write a percolate query that match the document containing the
term as sub-string.
like a contains query.
Example:
a document in index like filed1:"dtfinanace"
must be returned in result if I search for "fields:"finance".
Any help will be highly appreciated.
Thnaks,
Pulkit Agrawal
ppearcy
(ppearcy)
August 10, 2011, 12:04am
4
Yeah, you should be able to save and percolate any query that you can
run through the search APIs.
Regards,
Paul
On Aug 9, 12:02 pm, Pulkit Agrawal pulkitdot...@gmail.com wrote:
Thanks Paul,
I will try that.
Does it work in percolate as well?
Regards,
Pulkit Agrawal
On Tue, Aug 9, 2011 at 3:05 AM, ppearcy ppea...@gmail.com wrote:
While you could do wildcard queries, I don't believe they are very
efficient. I'd recommend using an n-gram analyzer:
http://search.lucidimagination.com/search/document/CDRG_ch05_5.5.5
Elasticsearch Platform — Find real-time answers at scale | Elastic ...
Best Regards,
Paul
On Aug 8, 3:04 pm, Pulkit Agrawal pulkitdot...@gmail.com wrote:
Hi All,
I want to write a percolate query that match the document containing the
term as sub-string.
like a contains query.
Example:
a document in index like filed1:"dtfinanace"
must be returned in result if I search for "fields:"finance".
Any help will be highly appreciated.
Thnaks,
Pulkit Agrawal