I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach wmschwa@gmail.comwrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
Hi Shay,
Version is 0.16.2. I'm guessing it's time to upgrade.
Thanks,
Will
On Tue, Aug 9, 2011 at 2:24 AM, Shay Banon kimchy@gmail.com wrote:
Which version are you using?
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach wmschwa@gmail.comwrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
On Tue, Aug 9, 2011 at 8:48 PM, William Schwarzenbach wmschwa@gmail.comwrote:
Hi Shay,
Version is 0.16.2. I'm guessing it's time to upgrade.
Thanks,
Will
On Tue, Aug 9, 2011 at 2:24 AM, Shay Banon kimchy@gmail.com wrote:
Which version are you using?
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach wmschwa@gmail.comwrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
Just tried on 0.17.4. Same behavior. I don't think the release notes mention
this problem.
Just a note: I've tried with both highlighters by specifying term_vector on
the field in question and by leaving it unspecified.
-Will
On Tue, Aug 9, 2011 at 11:23 AM, Shay Banon kimchy@gmail.com wrote:
Yea, it should be fixed in 0.17.
On Tue, Aug 9, 2011 at 8:48 PM, William Schwarzenbach wmschwa@gmail.comwrote:
Hi Shay,
Version is 0.16.2. I'm guessing it's time to upgrade.
Thanks,
Will
On Tue, Aug 9, 2011 at 2:24 AM, Shay Banon kimchy@gmail.com wrote:
Which version are you using?
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach <wmschwa@gmail.com
wrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
Can you gist a recreation then? Simpler for me to get started at looking at
it.
On Tue, Aug 9, 2011 at 9:33 PM, William Schwarzenbach wmschwa@gmail.comwrote:
Just tried on 0.17.4. Same behavior. I don't think the release notes
mention this problem.
Just a note: I've tried with both highlighters by specifying term_vector on
the field in question and by leaving it unspecified.
-Will
On Tue, Aug 9, 2011 at 11:23 AM, Shay Banon kimchy@gmail.com wrote:
Yea, it should be fixed in 0.17.
On Tue, Aug 9, 2011 at 8:48 PM, William Schwarzenbach wmschwa@gmail.comwrote:
Hi Shay,
Version is 0.16.2. I'm guessing it's time to upgrade.
Thanks,
Will
On Tue, Aug 9, 2011 at 2:24 AM, Shay Banon kimchy@gmail.com wrote:
Which version are you using?
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach < wmschwa@gmail.com> wrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
On Tue, Aug 9, 2011 at 1:41 PM, Shay Banon kimchy@gmail.com wrote:
Can you gist a recreation then? Simpler for me to get started at looking at
it.
On Tue, Aug 9, 2011 at 9:33 PM, William Schwarzenbach wmschwa@gmail.comwrote:
Just tried on 0.17.4. Same behavior. I don't think the release notes
mention this problem.
Just a note: I've tried with both highlighters by specifying term_vector
on the field in question and by leaving it unspecified.
-Will
On Tue, Aug 9, 2011 at 11:23 AM, Shay Banon kimchy@gmail.com wrote:
Yea, it should be fixed in 0.17.
On Tue, Aug 9, 2011 at 8:48 PM, William Schwarzenbach <wmschwa@gmail.com
wrote:
Hi Shay,
Version is 0.16.2. I'm guessing it's time to upgrade.
Thanks,
Will
On Tue, Aug 9, 2011 at 2:24 AM, Shay Banon kimchy@gmail.com wrote:
Which version are you using?
On Tue, Aug 9, 2011 at 7:24 AM, William Schwarzenbach < wmschwa@gmail.com> wrote:
I'm trying to get a quick and dirty autocomplete implementation
working and thought a decent approach would be to fetch the
highlighted phrase for a prefix phrase query and be done with it.
However, no highlights are returned for a text_prefix_phrase query. An
example curl:
I have the same problems than William.
I'm working the elasticsearch version 0.19.4.
Is there an error on his script ? or there's a feature not yet implemented ?
Thanks,
Christophe.
On Tuesday, August 9, 2011 11:29:06 PM UTC+2, William Schwarzenbach wrote:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.