Thanks. I'm starting to get a better idea of the whole picture ;)
Could you also share the query you are running? do run the cross_field
query against the default field or the 'raw' field?
Stéphane Bastian
On 06/25/2014 05:07 PM, Christoph Lingg wrote:
Disabling sharding shouldn't make any significant difference
thanks!
> It would demand some work to isolate these queries. However, I
managed
> to find out the reason why the query last much longer: the
number of
> queried fields increased from 9 (solr) to 25 (es). I thought
this had
> no impact: the number of tokens in the index got not changed but is
> now more distributed in different fields. In other words: it turned
> out that the number of fields you query has a greater impact on
> performance than the number of tokens stored in a indexed field.
So I
> know what to do and try union fields where possible. Thanks for
your help!
>
To me this means that the documents that are indexed in solr and
Es are
different. Is this correct?
they are identical, but in the newer elasticsearch version the
edgengrams and the raw tokens are stored in separate field, which
allows boosting entire words. we are using the fields
<https://github.com/christophlingg/photon/blob/komoot/es_config/mappings.json#L47> feature
for that.
Would you mind sharing the schema of the document you are indexing in
Solr and ES ? We may be able to provide tips / ideas to improve
search
performance
sure!
https://github.com/christophlingg/photon/blob/603c3991f19c969a7c80d601cabd9367136ca809/es_config/mappings.json
https://github.com/komoot/photon/blob/deprecated-solr-version/solrconfig/collection1/conf/schema.xml
Cheers!
--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/bjl2PJEhYsg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/4c059fc5-a33c-46a1-9f92-688798c9710e%40googlegroups.com
<https://groups.google.com/d/msgid/elasticsearch/4c059fc5-a33c-46a1-9f92-688798c9710e%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/53AAE830.4070807%40gmail.com.
For more options, visit https://groups.google.com/d/optout.