Stuck with a simple issue, it would be really great if any of you can help
me out.
Trying to use a scriptField in a search query. But as I execute the query,
it runs forever does not come out of execution. Am I doing something wrong.
Here is the code:
Stuck with a simple issue, it would be really great if any of you can help
me out.
Trying to use a scriptField in a search query. But as I execute the query,
it runs forever does not come out of execution. Am I doing something wrong.
Here is the code:
Am using default configuration which uses 9300.
I am storing "amount" as a field which is a double field.
If I don't use scriptField and just use the below query then I get back all
the documents as expected.
builder.setQuery(matchAllQuery()).execute().actionGet();
But when I add scriptField its goes real searching. I tried with String
field (which is not analyzed) as well. Same result.
Stuck with a simple issue, it would be really great if any of you can
help
me out.
Trying to use a scriptField in a search query. But as I execute the
query,
it runs forever does not come out of execution. Am I doing something
wrong.
Here is the code:
Doing some further research, I could see that the search response is fine
till
NettyTransportChannel.java --- sendResponse(Streamable message,
TransportResponseOptions options)
I assume it should return back the control after channel.write(buffer), but it does not seem like happening.
Whereas if I do regular search without addScrieptField everything works fine .
Note: Though Scripts are working fine when its used with Facets.
Would appreciate your suggestion / pointers.
Am I doing something wrong or its a potential bug?
Am using default configuration which uses 9300.
I am storing "amount" as a field which is a double field.
If I don't use scriptField and just use the below query then I get back
all the documents as expected.
builder.setQuery(matchAllQuery()).execute().actionGet();
But when I add scriptField its goes real searching. I tried with String
field (which is not analyzed) as well. Same result.
Stuck with a simple issue, it would be really great if any of you can
help
me out.
Trying to use a scriptField in a search query. But as I execute the
query,
it runs forever does not come out of execution. Am I doing something
wrong.
Here is the code:
Doing some further research, I could see that the search response is fine
till
NettyTransportChannel.java --- sendResponse(Streamable message,
TransportResponseOptions options)
I assume it should return back the control after channel.write(buffer), but it does not seem like happening.
Whereas if I do regular search without addScrieptField everything works
fine*.
Note*: Though Scripts are working fine when its used with Facets.
Would appreciate your suggestion / pointers.
Am I doing something wrong or its a potential bug?
Am using default configuration which uses 9300.
I am storing "amount" as a field which is a double field.
If I don't use scriptField and just use the below query then I get back
all the documents as expected.
builder.setQuery(matchAllQuery()).execute().actionGet();
But when I add scriptField its goes real searching. I tried with String
field (which is not analyzed) as well. Same result.
Stuck with a simple issue, it would be really great if any of you can
help
me out.
Trying to use a scriptField in a search query. But as I execute the
query,
it runs forever does not come out of execution. Am I doing something
wrong.
Here is the code:
Can you first try and see if it happens with a later version? Its strange
that you get it... . If it does, can you write a simple Java program that
recreates the problem?
Doing some further research, I could see that the search response is fine
till
NettyTransportChannel.java --- sendResponse(Streamable message,
TransportResponseOptions options)
I assume it should return back the control after channel.write(buffer), but it does not seem like happening.
Whereas if I do regular search without addScrieptField everything works
fine*.
Note*: Though Scripts are working fine when its used with Facets.
Would appreciate your suggestion / pointers.
Am I doing something wrong or its a potential bug?
Am using default configuration which uses 9300.
I am storing "amount" as a field which is a double field.
If I don't use scriptField and just use the below query then I get back
all the documents as expected.
builder.setQuery(matchAllQuery()).execute().actionGet();
But when I add scriptField its goes real searching. I tried with String
field (which is not analyzed) as well. Same result.
Stuck with a simple issue, it would be really great if any of you can
help
me out.
Trying to use a scriptField in a search query. But as I execute the
query,
it runs forever does not come out of execution. Am I doing something
wrong.
Here is the code:
I did not try in later version of 0.18 series.
As I was upgrading so I did to the most recent which is 0.19.3
Will try it out sometime this weekend and let you know.
Thanks
Rahul
On Wed, May 2, 2012 at 10:01 PM, Shay Banon kimchy@gmail.com wrote:
Can you first try and see if it happens with a later version? Its strange
that you get it... . If it does, can you write a simple Java program that
recreates the problem?
Doing some further research, I could see that the search response is
fine till
NettyTransportChannel.java --- sendResponse(Streamable message,
TransportResponseOptions options)
I assume it should return back the control after channel.write(buffer), but it does not seem like happening.
Whereas if I do regular search without addScrieptField everything works
fine*.
Note*: Though Scripts are working fine when its used with Facets.
Would appreciate your suggestion / pointers.
Am I doing something wrong or its a potential bug?
Am using default configuration which uses 9300.
I am storing "amount" as a field which is a double field.
If I don't use scriptField and just use the below query then I get back
all the documents as expected.
builder.setQuery(matchAllQuery()).execute().actionGet();
But when I add scriptField its goes real searching. I tried with String
field (which is not analyzed) as well. Same result.
Stuck with a simple issue, it would be really great if any of you
can help
me out.
Trying to use a scriptField in a search query. But as I execute the
query,
it runs forever does not come out of execution. Am I doing something
wrong.
Here is the code:
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.