:-) Otis, I also looked at solrJ source code, seems exactly what I am doing
here... but I probably will do what you suggested ... thanks
Jie
--
View this message in context:
http://lucene.472066.n3.nabble.com/POST-query-with-non-ASCII-to-solr-using-httpclient-wont-work-tp4032957p4032973.html
Se
On 1/12/2013 7:51 PM, Jack Park wrote:
My work engages SolrJ, with which I send documents off to Solr 4 which
properly store, as viewed in the admin panel, as this example:
2013-02-04T02:11:39.995Z
When I retrieve a document with that date, I use the SolrDocument
returned as a Map in which the d
Jie Sun,
Just use solrj :)
Otis
Solr & ElasticSearch Support
http://sematext.com/
On Jan 12, 2013 7:40 PM, "Jie Sun" wrote:
> When I use HttpClient and its PostMethod to post a query with some Chinese,
> solr fails returning any record, or return everything.
> ... ...
>
My work engages SolrJ, with which I send documents off to Solr 4 which
properly store, as viewed in the admin panel, as this example:
2013-02-04T02:11:39.995Z
When I retrieve a document with that date, I use the SolrDocument
returned as a Map in which the date now looks like
this:
Sun Feb 03 18:11
When I use HttpClient and its PostMethod to post a query with some Chinese,
solr fails returning any record, or return everything.
... ...
method = new PostMethod(solrReq);
method.getParams().setContentCharset("UTF-8");
method.setRequestHeader("Conten
Thanks very much, Yonik.
I should read the Javadoc of Solr's IntField and TrieIntField.
In Javadoc of Solr's IntField, IntField is marked as legacy field type:
A legacy numeric field type that encodes "Integer" values as simple Strings.
This class should not be used except by people with existing
On Sat, Jan 12, 2013 at 4:56 PM, jefferyyuan wrote:
> Looked at Lucene Javadoc, seems we can run range query, filter, sorting on
> IntField.
> Also seems IntField is also indexed as trie structure.
> Javadoc for IntField:
You're reading the javadoc for *lucene* IntField.
Unfortunately, Lucene has
here is a good post listing the details
http://searchhub.org/2009/05/13/exploring-lucene-and-solrs-trierange-capabilities/
you can also read up Trie data structure on wikipedia.
You should almost always want to use the trieintField
the default int field in solr is solr.TrieIntField
On Sat, J
we don't backup clusterstate.json ,but regenerate it (failed parts) based
on ping requests to all servers in our farm and use ZKClient C++ binding to
update it.
actual implementation and logic is a bit more complex, and for all normal
apps this is not necessary. we are just more paranoid about fai
Have you tried the Admin interface yet? The one on :8983 port if you are
running default setup. That has a bunch of different stats you can look at
apart from a nice way of doing a query. I am assuming you are on Solr 4, of
course.
Regards,
Alex.
On Fri, Jan 11, 2013 at 5:13 PM, hassancrowdc w
So, I followed all the steps and solr is working successfully, Can you
please tell me how i can see if my data is indexed or not? do i have to
enter specific url into my browser or anything. I want to make sure that
the data is indexed.
your tutorial is very helpful, thanks again.
On Fri, Jan 11
I will figure out. Essence of question was if it was there
out-of-the-box. Thanks!
Regards, Per Steffensen
On 1/11/13 5:38 PM, Markus Jelsma wrote:
Hmm, you need to set up the HttpClient in HttpShardHandlerFactory but you
cannot access the HttpServletRequest from there, it is only available i
12 matches
Mail list logo