anhthu
(anhthu)
March 27, 2012, 6:49am
1
Hi,
I have a query string is "company", I expect that search result can
contain one or many below tokens:
"company"
"xxcompany"
"companyxx"
"xxcompanyxx"
"kompany"
"xxkompany"
"kompanyxx"
"xxkompanyxx"
I've tried using phonetic filter and fuzzy search query_string but it
did not succeed. Could anyone help me on this, it's really
appreciated.
Cheers, Thu
thinusp
(thinusp)
March 27, 2012, 6:54am
2
Do you literally mean "xx", or is that your way of saying "anything", as in
"company*" and "*company" etc.?
On Tuesday, 27 March 2012 08:49:46 UTC+2, Anh Thu wrote:
Hi,
I have a query string is "company", I expect that search result can
contain one or many below tokens:
"company"
"xxcompany"
"companyxx"
"xxcompanyxx"
"kompany"
"xxkompany"
"kompanyxx"
"xxkompanyxx"
I've tried using phonetic filter and fuzzy search query_string but it
did not succeed. Could anyone help me on this, it's really
appreciated.
Cheers, Thu
anhthu
(anhthu)
March 27, 2012, 7:56am
3
Hi,
It means "company " and "kompany "
On Mar 27, 1:54 pm, Thinus Prinsloo thinus.prins...@gmail.com wrote:
Do you literally mean "xx", or is that your way of saying "anything", as in
"company*" and "*company" etc.?
On Tuesday, 27 March 2012 08:49:46 UTC+2, Anh Thu wrote:
Hi,
I have a query string is "company", I expect that search result can
contain one or many below tokens:
"company"
"xxcompany"
"companyxx"
"xxcompanyxx"
"kompany"
"xxkompany"
"kompanyxx"
"xxkompanyxx"
I've tried using phonetic filter and fuzzy search query_string but it
did not succeed. Could anyone help me on this, it's really
appreciated.
Cheers, Thu
kimchy
(Shay Banon)
March 28, 2012, 10:23am
4
You have several options here, the first is to use stemming based analyzer
to perform some stemming on the indexed tokens, or, use ngram based
analyzer.
On Tue, Mar 27, 2012 at 9:56 AM, Anh Thu dinhvuanhthu@gmail.com wrote:
Hi,
It means "company " and "kompany "
On Mar 27, 1:54 pm, Thinus Prinsloo thinus.prins...@gmail.com wrote:
Do you literally mean "xx", or is that your way of saying "anything", as
in
"company*" and "*company" etc.?
On Tuesday, 27 March 2012 08:49:46 UTC+2, Anh Thu wrote:
Hi,
I have a query string is "company", I expect that search result can
contain one or many below tokens:
"company"
"xxcompany"
"companyxx"
"xxcompanyxx"
"kompany"
"xxkompany"
"kompanyxx"
"xxkompanyxx"
I've tried using phonetic filter and fuzzy search query_string but it
did not succeed. Could anyone help me on this, it's really
appreciated.
Cheers, Thu