Hi,
I have a production Solr Cloud setup which has been migrated from 4.2 to
4.10.2. Upon then at times I'm getting this ERROR.
ERROR StreamingSolrServers
org.apache.solr.common.SolrException: Bad Request
request:
http://10.0.0.160:8080/solr/profiles/update?update.distrib=TOLEADER&distrib.from=h
Hi all,
I am using solr version 4.7.2
I am getting following when communicating with solr server.
org.apache.solr.common.SolrException: No such core: db
> at
> org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:112)
> at
> org.apache.solr.client.solr
I can reproduce it.
I added your parameters to the default section of the config and then
run the following:
curl
"http://localhost:8983/solr/schemaless/select?q=*:*&rows=0&wt=json&indent=true&facet=true&facet.field=primaryId2&facet.limit=10&echoParams=all";
I get:
--
"params"
Good point on that one Steve.
Wireshark is both a hammer and a power drill of network
troubleshooting. Takes steady hands to hold it right (it has a bit of
a learning curve) but it is a great tool. I swore by it (well Ethereal
back then) in my tech support days.
So, seconded to try using that if
For what it's worth, depending on the type of PC/MAC you're using, you can use
WireShark to look at active http header (sent and received) that are being
created for the request.
https://www.wireshark.org/
I don't have any financial interest in them, but the stuff works!
Steve
> Date: Sun, 23
Hi,
Same as index time. You can define query time analyzer in schema.xml.
Here is an example taken from default schema.xml
.
On Monday, November 24, 2014 12:05 AM, David Lee wrote:
Yes, my edismax parser is configured to query multiple fields, including
qf, pf, pf2 and pf3.
You can't build the suggester from the stored
values, it's constructed from indexed terms only.
You probably want to create a copyField to
a less-analyzed (indexed) field and suggest
from _that_. You'll probably want to do things
like remove punctuation, perhaps lowercase
and the like but not stem
Yes, my edismax parser is configured to query multiple fields, including
qf, pf, pf2 and pf3.
Is there any online documentation on "multiple analysis chains might get
used -- each field uses its own analysis chain" ?
Thanks,
DL
On Sun, Nov 23, 2014 at 1:34 PM, Shawn Heisey wrote:
> On 11/23/2
Hi,
We are using the random dynamic type (solr.RandomSortField) with Solr
Cloud, 1 shard and 1 replica.
Our use case is searching and displaying items for sale in two major types
of ad - premium and standard. We don't want all recently-updated or
recently-created ads sorted to the top by default,
On 11/23/2014 2:13 PM, David Lee wrote:
> Thanks Erik. I am actually using edismax query parser in SOLR. I can
> explicitly specify the fieldType (e.g., text_general or text_en) for
> different fields (e.g., title or description) . But I do not see how to
> specify the fieldType (thus analyzer
Thanks Erik. I am actually using edismax query parser in SOLR. I can
explicitly specify the fieldType (e.g., text_general or text_en) for
different fields (e.g., title or description) . But I do not see how to
specify the fieldType (thus analyzer) for runtime queries.
Thanks,
DL
On Sun, Nov
Hi,
I am trying to build a suggester for a field which is both index and
stored. The field is whitespace tokenized, lowercased, stemmed etc while
indexing.
It looks like that the indexed terms are used as a source for building the
suggester index. Which is what the following line in the suggester
Actually I'm using a php client (I think it sends a HTTP request to Solr),
but you're right tomorrow once I'll get to the office, I'll set chunk size
to a smaller value, and will tell you if that was the reason.
Thanks.
2014-11-23 19:35 GMT+01:00 Alexandre Rafalovitch :
> Most probably just a re
Most probably just a request that's too large. Have you tried dropping
down to 500 items and seeing what happens?
Are you using SolrJ to send content to Solr? Or a direct HTTP request?
Regards,
Alex.
P.s. You may also find it useful to read up on the Solr commit and
hard vs. soft commits. Chec
You can find an example of split definition as well as the full list
of analyzers available to you at:
http://www.solr-start.com/info/analyzers/ (example is well towards the
bottom)
Regards,
Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.so
Query time analysis depends on the query parser in play. If a query parser
chooses to analyze some or all of the query it will use the same analysis as
index time unless specified separately (in the field type definition itself too)
Erik
> On Nov 23, 2014, at 13:08, David Lee wrote:
>
>
This could be a dummy question. At index time, we can specify the
fieldType of different fields; thus, we know the analyzers for those
fields.
In schema.xml, I do not see the configuration how to specify the
fieldType (thus analyzer) for runtime user queries.
Can anyone help explain this ?
Hi there,
I have deployed solr with Jetty, and I'm trying to index a quite large
amount of items (300K), retreived from a MySQL database (unfortunately I'm
not using DIH; I'm doing it manually, by getting items from MySQL and then
index them it in Solr).
But, I'm not indexing all of those items a
Thanks Mikhail/Michael
I checked both lucene-core.jar and lucene-codecs.jar.
org.apache.lucene.codecs.Codec is there in both files.
Seems like problem is in osgi bundling. I need to consider the service
loader in osgi bundle which is not done.
Thanks for information.
Danesh
On Sun, Nov 23, 2014
Thanks a lot for your reply!
I had »docValues="true"« in there before, but then thought I'd try out
removing it to see if that helped. It didn't, and I forgot to re-add it
before copying it into the mail.
So, unfortunately, that's not it.
However, the other one seems to bring us a step closer to
A difference I see in your snippet from the example is that you don't have
"docValues="true"" on the coordinate field type. You wrote:
stored="false" />
But the example is:
docValues="true" stored="false"/>
Also, maybe try a static field rather than dynamic field, although the
latter shoul
Those Spi classes rely on a configuration file that gets stored in the
META-INF folder. I'm not familiar with who OSGI works, but I'm pretty
sure that failure is because the file
META-INF/services/org.apache.lucene.codecs.Codec (you'll see it in the
lucene-core jar) can't be found
-Mike
On
Hi all,
I just downloaded Solr 4.10.2 and wanted to try out the new BBoxField
type, but couldn't get it to work. The error (with status 400) I get is:
ERROR: [doc=foo] Error adding field
'bboxs_field_location_area'='ENVELOPE(25.89, 41.13, 47.07, 35.31)'
msg=java.lang.IllegalStateException: instea
Hi Folks,
I'd like to switch to using cursorMark for pagination, but I can't get it
to work with elevations (Solr 4.10.2 / jdk7 / osx).
I try a query like:
q=foo&sort=score+desc,id+asc&elevateIds=1234567&cursorMark=*
and get an exception:
java.lang.ClassCastException: java.lang.Float cannot be
Hi,
Did you tried to figure out which artefact contains
org.apache.lucene.codecs.Codec? I guess it should be something like
lucene-codec or so.
Also, referring different versions 3.6.2 vs 4.7.2 vs 3.0.3 is dead-end.
Happy OSGIing!
On Sun, Nov 23, 2014 at 6:14 AM, Danesh Kuruppu
wrote:
> Hi all,
25 matches
Mail list logo