Document field as an input for subquery params which contains whitespaces

2017-02-11 Thread Johannes
_hierachy v="$row.org_fqdn_hierachy"}&orgnav.fq=type:org Is there a trick or parameter to escape it? Best regards Johannes

Re: Document field as an input for subquery params which contains whitespaces

2017-02-11 Thread Johannes
SOLVED. Containing white spaces were not the problem. I wanted to see the content of org_fqdn_hierarchy in the response and changed the field definition stored from false to true. And my subquery returns the desired results. Best regards Johannes Am 11.02.2017 um 11:18 schrieb Johannes: > He

Permutations of entries in a multivalued field

2015-12-16 Thread Johannes Riedl
entry of the multivalued field) or trigger an alphabetical sorting of incoming queries. Thanks a lot for your feedback, best regards Johannes

Re: Permutations of entries in a multivalued field

2015-12-21 Thread Johannes Riedl
Thanks a lot for these useful hints. Best, Johannes On 18.12.2015 20:59, Allison, Timothy B. wrote: Duh, didn't realize you could set inOrder in Solr. Y, that's the better solution. -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, D

optimize cache-hit-ratio of filter- and query-result-cache

2015-11-30 Thread Johannes Siegert
of the query have impact on query-result-cache-hit-ratio? 2.1 Example: "q=abc&fq=field1:abc&sort=field1 desc&fq=field2:xyz&sort=field2 asc" to "q=abc&fq=field1:abc&fq=field2:xyz&sort=field1 desc&sort=field2 asc" -> if the query parts are randomly sorted Thanks! Johannes

Re: optimize cache-hit-ratio of filter- and query-result-cache

2015-12-01 Thread Johannes Siegert
Thanks. The statements on http://wiki.apache.org/solr/SolrCaching#showItems are not explicitly enough for my question.

sort by given order

2015-03-12 Thread Johannes Siegert
0^2) OR (3^1))&start=0&rows=5 Do you know an other solution to sort by a list of ids? Thanks! Johannes

Custom Query Implementation?

2015-04-28 Thread Johannes Ruscheinski
, I might mention it anyway: We are using SOLR as a part of VuFind. I'd be greatful for any suggestions. Thank you! --Johannes -- Dr. Johannes Ruscheinski Universitätsbibliothek Tübingen - IT-Abteilung - Wilhelmstr. 32, 72074 Tübingen Tel: +49 7071 29-72820 FAX: +49 7071 29-5069 Email:

Custom Scoring Question

2015-04-29 Thread Johannes Ruscheinski
evelop and debug this? I am using the Linux command-line and Emacs. I am linking against SOLR by using "javac -cp solr-core-4.2.1.jar:. my_code.java". It is probably not relevant but, I might mention it anyway: We are using SOLR as a part of VuFind. I'd be greatful for any suggest

Re: Antwort: Custom Scoring Question

2015-04-29 Thread Johannes Ruscheinski
Hi Stephan, On 29/04/15 14:37, Stephan Schubert wrote: > Hi Johannes, > > did you have a look on Solr edismax and function queries? > https://cwiki.apache.org/confluence/display/solr/Function+Queries Just read it. > > If I got you right, for the case you just want to ignore

Limit Results By Score?

2015-05-05 Thread Johannes Ruscheinski
Hi, We have implemented a custom scoring function and also need to limit the results by score. How could we go about that? Alternatively, can we suppress the results early using some kind of custom filter? --Johannes -- Dr. Johannes Ruscheinski Universitätsbibliothek Tübingen - IT-Abteilung

Multilingual Solr

2016-06-05 Thread Riedl, Johannes
there is a way to store data in these dummy fields and additionally the lang parameter is added we might be done. Thanks a lot, best regards Johannes

Re: Multilingual Solr

2016-06-06 Thread Johannes Riedl
specific field types to specify the analyzers that are being used. The core issue for us (pun intended ;-)) is to find out whether it is possible to extend this approach to only return the selected language(s), i.e. to transparently add something like nested documents. Best regards Johannes On

Sharding vs single index vs separate collection

2017-06-08 Thread Johannes Knaus
separate index that is not routed (but maybe sharded/splitted)? If so, how should I deal with such a separate index? Is it possible to add it to my existing Solr cloud? Would it go into a separate collection? Thanks for your advice. Johannes

SolrCloud indexing -- 2 collections, 2 indexes, sharing the same nodes possible?

2017-08-30 Thread Johannes Knaus
could share the 38 nodes without the indexes being mixed? Thanks for your help. Johannes

Re: SolrCloud indexing -- 2 collections, 2 indexes, sharing the same nodes possible?

2017-08-30 Thread Johannes Knaus
ue (raise the -m parameter when starting the node)? In my case, I am quite sure that the collections will never be queried simultaneously. So will the "running but idle" collection slow me down? Johannes -Ursprüngliche Nachricht- Von: Susheel Kumar [mailto:susheel2...@gmail.c

What does the replication factor parameter in collections api do?

2017-04-12 Thread Johannes Knaus
alike? 3) Or is replicationfactor just a parameter that is needed for the first start of SolrCloud and can be ignored afterwards? Thank you very much for your help, All the best, Johannes

AW: What does the replication factor parameter in collections api do?

2017-04-13 Thread Johannes Knaus
o it's ignored thereafter. Once your replica is added, it's automatically made use of by the collection. On Wed, Apr 12, 2017 at 9:30 AM, Johannes Knaus wrote: > Hi, > > I am still quite new to Solr. I have the following setup: > A SolrCloud setup with > 38 nodes, > maxS

Re: AW: What does the replication factor parameter in collections api do?

2017-04-16 Thread Johannes Knaus
Thank you all very much for your answers. That definitely explains it. All the best, Johannes > Am 13.04.2017 um 17:03 schrieb Erick Erickson : > > bq: Why is it possible then to alter replicationFactor via > MODIFYCOLLECTION in the collections API > > Because MODIFYCOLLE

changed query behavior

2014-04-14 Thread Johannes Siegert
mapping="mapping.txt"/> synonyms="synonyms.txt" ignoreCase="true" expand="false"/> generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0" preserveOriginal="1"/> The default query operator is AND. Thanks! Johannes

Bug within the solr query parser (version 4.7.1)

2014-04-15 Thread Johannes Siegert
characters that split words into 2 parts. I use the following WordDelimiterFilter on query side: generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0" preserveO

FilteredQuery with TermsFilter swallowing results after upgrade to solr 4.8

2014-05-14 Thread Johannes Schlumberger
here is something obviously wrong. Any help or pointers are appreciated, also please let me know if I should rather write to the dev list than the users list. thanks, Johannes

default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
ord4) Since I specified AND as default query operator, the query should match documents by ((word1 AND word2) OR (word3 AND word4)) but the query matches documents by ((word1 OR word2) OR (word3 OR word4)). Could anyone explain the behaviour? Thanks! Johannes P.S. The query q=(word1 word2) match all documents by (word1 AND word2)

Re: default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
Thanks Shawn! In this case I will use operators everywhere. Johannes Am 25.06.2014 15:09, schrieb Shawn Heisey: On 6/25/2014 1:05 AM, Johannes Siegert wrote: I have defined the following edismax query parser: 100%edismax0.01100*:*ANDfield1^2.0 field210* My search query looks like: q

wrong docFreq while executing query based on uniqueKey-field

2014-07-22 Thread Johannes Siegert
document(1) is before document(2). With debug=true I could see the problem. The document(1) has a docFreq=2, while the document(2) has a docFreq=1. How could the docFreq of the uniqueKey-field be hight than 1? Could anyone explain this behavior to me? Thanks! Johannes

NGramTokenizer influence to length normalization?

2014-08-08 Thread Johannes Siegert
Hi, does the NGramTokenizer have an influence to the length normalization? Thanks. Johannes

high memory usage with small data set

2014-01-29 Thread Johannes Siegert
heap-space-useage is between 50 and 90 percent. No OutOfMemoryException occurs. Questions: 1. Why does Solr use 5 GB ram, with this small amount of data? 2. Which impact does the large filter-queries have in relation to ram usage? Thanks! Johannes Siegert

Re: high memory usage with small data set

2014-02-05 Thread Johannes Siegert
be removed. Johannes Am 30.01.2014 15:08, schrieb Erick Erickson: Do your used entries in your caches increase in parallel? This would be the case if you aren't updating your index and would explain it. BTW, take a look at your cache statistics (from the admin page) and look at the cache hit rati

solr-query with NOT and OR operator

2014-02-11 Thread Johannes Siegert
receive several documents, if I request only for ((-(field1:value1))). Thanks! Johannes

Re: solr-query with NOT and OR operator

2014-02-11 Thread Johannes Siegert
Hi Jack, thanks! fq=((*:* -(field1:value1)))+OR+(field2:value2). This is the solution. Johannes Am 11.02.2014 17:22, schrieb Jack Krupansky: With so many parentheses in there, I wonder what you are really trying to do Try expressing your query in simple English first so that we can

Replication of a corrupt master index

2014-12-02 Thread Charra, Johannes
Hi, If I have a master/slave setup and the master index gets corrupted, will the slaves realize they should not replicate from the master anymore, since the master does not have a newer index version? I'm using Solr version 4.2.1. Regards, Johannes

AW: Replication of a corrupt master index

2014-12-02 Thread Charra, Johannes
ht have a total outage. The master runs on a h/a cluster. Regards, Johannes -Ursprüngliche Nachricht- Von: Erick Erickson [mailto:erickerick...@gmail.com] Gesendet: Dienstag, 2. Dezember 2014 15:54 An: solr-user@lucene.apache.org Betreff: Re: Replication of a corrupt master index No. The

looking for working example defType=term

2013-08-12 Thread Johannes Elsinghorst
$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) solarconfig.xml: explicit term 10 id Thanks, Johannes

FW: looking for working example defType=term

2013-08-12 Thread Johannes Elsinghorst
Query solrQuery = new SolrQuery().setQuery(""); QueryResponse queryResponse = getSolrServer().query(solrQuery); I'd like to configure the TermQParserPlugin on the server side to minimize my queries. Johannes -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.c

Re: Multi CPU Cores

2011-10-15 Thread Johannes Goll
Did you try to submit multiple search requests in parallel? The apache ab tool is great tool to simulate simultaneous load using (-n and -c). Johannes On Oct 15, 2011, at 7:32 PM, Rob Brown wrote: > Hi, > > I'm running Solr on a machine with 16 CPU cores, yet watching "top

Re: Multi CPU Cores

2011-10-16 Thread Johannes Goll
Try using -useParallelGc as vm option. Johannes On Oct 16, 2011, at 7:51 AM, Ken Krugler wrote: > > On Oct 16, 2011, at 1:44pm, Rob Brown wrote: > >> Looks like I checked the load during a quiet period, ab -n 1 -c 1000 >> saw a decent 40% load on each core.

Re: Multi CPU Cores

2011-10-16 Thread Johannes Goll
we use the the following in production java -server -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+DisableExplicitGC -Xms3G -Xmx40G -Djetty.port= -Dsolr.solr.home= jar start.jar more information http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html Johannes

Re: Multi CPU Cores

2011-10-17 Thread Johannes Goll
Yes, same thing. This was for the jetty servlet container not tomcat. I would refer to the tomcat documentation on how to modify/configure the java runtime environment (JRE) arguments for your running instance. Johannes On Oct 17, 2011, at 4:01 AM, Robert Brown wrote: > Where exactly do

Re: Hierarchical faceting in UI

2012-01-23 Thread Johannes Goll
of the hierarchy. You can use the sql database to dynamically expand the tree by building facet queries to fetch document collections of child-nodes. Johannes  from the root level down to leave node in one field "1 13 32 42 23 12" 2012/1/23 : > > On Mon, 23 Jan 2012 14:33:00 -0

AW: Preferred query notation for alternative field values

2012-11-28 Thread Charra, Johannes
re or less the same thing, and thus no >>> real >>> impact on query time. >>> >>> Upayavira >>> >>> On Wed, Nov 28, 2012, at 10:54 AM, Charra, Johannes wrote: >>> > >>> > Hi all, >>> > >>> > Is there

Index-time synonyms and trailing wildcard issue

2013-02-13 Thread Johannes Rodenwald
multiterm-aware component (see http://lucene.apache.org/solr/api-3_6_1/org/apache/solr/analysis/MultiTermAwareComponent.html) - How can i disable this behaviour, so that "Orange" is no longer returned by the query for "apfel*"? Regards, Johannes

Re: Index-time synonyms and trailing wildcard issue

2013-02-14 Thread Johannes Rodenwald
sine" is a true synonym for "Orange" in german, meaning "chinese apple". "Apfel" = apple, shouldnt match oranges). Problem solved, thanks again for the help! Johannes Rodenwald - Ursprüngliche Mail - Von: "Jack Krupansky" An: solr-user@

Re: Solr Grouping and empty fields

2013-02-22 Thread Johannes Rodenwald
value_b OR value_c OR value_d ) If you use SOLR 4.x, you should be able to group upon an integer field, allowing a range filter: (I still work with 3.6 which can only group on string fields, so i didnt test this one) fq=my_grouping_integer_field:[1 TO *] -- Johannes Rodenwald - Ursprüng

Update Solr Schema To Store Field

2012-02-01 Thread Johannes Goll
an to index with the updated schema. My question is whether this change affects the query behavior for the existing indexed documents which were loaded with stored ="false" Thanks a lot, Johannes

Re: summing facets on a specific field

2012-02-06 Thread Johannes Goll
you can use the StatsComponent http://wiki.apache.org/solr/StatsComponent with stats=true&stats.price=category&stats.facet=category and pull the sum fields from the resulting stats facets. Johannes 2012/2/5 Paul Kapla : > Hi everyone, > I'm pretty new to solr and I'm n

Re: summing facets on a specific field

2012-02-06 Thread Johannes Goll
I meant stats=true&stats.field=price&stats.facet=category 2012/2/6 Johannes Goll : > you can use the StatsComponent > > http://wiki.apache.org/solr/StatsComponent > > with stats=true&stats.price=category&stats.facet=category > > and pull the sum f

Re: UI

2012-05-21 Thread Johannes Goll
yes, I am using this library and it works perfectly so far. If something does not work you can just modify it http://code.google.com/p/solr-php-client/ Johannes 2012/5/21 Tolga : > Hi, > > Can you recommend a good PHP UI to search? Is SolrPHPClient good?

Solr 1.4.1 stats component count not matching facet count for multi valued field

2010-12-23 Thread Johannes Goll
last entered value is being considered in the stats component? What am I doing wrong here? Thanks, Johannes

solrconfig luceneMatchVersion 2.9.3

2011-01-06 Thread Johannes Goll
NE_29 or 2.9 or 2.9.3 I am getting "SEVERE: org.apache.solr.common.SolrException: Invalid luceneMatchVersion '2.9', valid values are: [LUCENE_30, LUCENE_31, LUCENE_40, LUCENE_CURRENT] or a string in format 'V.V'" Do you know a way to make this work with Lucene version 2.9.3 ? Thanks, Johannes

Re: solrconfig luceneMatchVersion 2.9.3

2011-01-07 Thread Johannes Goll
se 3.0 and later. Is there any other mechanism for converting index files to 3.x? 2011/1/6 Johannes Goll > Hi, > > our index files have been created using Lucene 2.9.3 and solr 1.4.1. > > I am trying to use a patched version of the current trunk (solr 1.5.0 ? ). > The patched v

Re: Tuning StatsComponent

2011-01-13 Thread Johannes Goll
What field type do you recommend for a float stats.field for optimal Solr 1.4.1 StatsComponent performance ? float, pfloat or tfloat ? Do you recommend to index the field ? 2011/1/12 stockii > > my field Type is "double" maybe "sint" is better ? but i need double ... > =( > -- > View this m

Re: Adding weightage to the facets count

2011-01-25 Thread Johannes Goll
counts to get a descending list of facet counts. Note, there is a bug for using the Stats Component with multi-valued facet fields. For details see https://issues.apache.org/jira/browse/SOLR-1782 Johannes 2011/1/24 Chris Hostetter > > : prod1 has tag called “Light Weight” with weightage 20, &g

Re: solr upgrade question

2011-03-31 Thread Johannes Goll
Hi Alexander, I have posted same question a few month ago. The only solution that came up was to regenerate the index files using the new version. How did you do this exactly with luke 1.0.1 ? Would you mind sharing some of that magic ? Best, Johannes 2011/3/31 Alexander Aristov > Did

apache-solr-3.1 slow stats component queries

2011-04-05 Thread Johannes Goll
I have created a custom 3.1 version that does only return the sum. But this only slightly improved the performance. Of course I could somehow cache the larger sum queries on the client side but I want to do this only as a last resort. Thank you very much in advance for any ideas/suggestions. Johannes

Re: apache-solr-3.1 slow stats component queries

2011-04-18 Thread Johannes Goll
any ideas why in this case the stats summaries are so slow ? Thank you very much in advance for any ideas/suggestions. Johannes 2011/4/5 Johannes Goll > Hi, > > thank you for making the new apache-solr-3.1 available. > > I have installed the version from > > http://ap

Re: apache-solr-3.1 slow stats component queries

2011-05-05 Thread Johannes Goll
other ideas that could help to improve this (hardware/software configuration) ? Even for a subset of 10M entries, the stat search takes on the order of 10 seconds. Thanks in advance. Johannes 2011/4/18 Johannes Goll > any ideas why in this case the stats summaries are so slow ? Thank you >

Re: Huge performance drop in distributed search w/ shards on the same server/container

2011-06-12 Thread Johannes Goll
Solr 3.1.) sporadically throws Socket connect exceptions when executing distributed searches. Our next step is to switch from from jetty to tomcat. Did you find a solution for improving the CPU utilization and requests per second for your system? Johannes 2011/5/26 pravesh > Do you rea

Re: Huge performance drop in distributed search w/ shards on the same server/container

2011-06-14 Thread Johannes Goll
d]. Here library_id equals the shard/core name. Is there an internal timeout for gathering shard results or other fixed resource limitation ? Johannes 2011/6/13 Yonik Seeley > On Sun, Jun 12, 2011 at 9:10 PM, Johannes Goll > wrote: > > However, sporadically, Jetty 6.1.2X (sh

refiltering search results

2012-08-28 Thread Johannes . Schwendinger
Hello, Im trying to develop a search component to filter the search results agein with current data so that the user only sess results he is permitted to see. Can someone give me a hint where to start and how to do this? Is a Search Component the right place to do this? Regards Johannes

Antwort: Re: refiltering search results

2012-08-28 Thread Johannes . Schwendinger
how to get access to the search results or the index Fields of the documents. I have thought of ResponseBuilder.getResults() but after I have the DocListandSet Object I get stuck. I know the time of the search will increase but security has priority Regards, Johannes Von: Alexandre

Antwort: Re: Antwort: Re: refiltering search results

2012-08-29 Thread Johannes . Schwendinger
Von: Ahmet Arslan An: solr-user@lucene.apache.org Datum: 29.08.2012 10:50 Betreff: Re: Antwort: Re: refiltering search results Thanks for the answer. My next question is how can i filter the result or how to replace the old ResponseBuilder Result with a new one? --- On Wed, 8/29/12, johanne

LateBinding

2012-08-29 Thread Johannes . Schwendinger
Hello, Has anyone ever implementet the security feature called late-binding? I am trying this but I am very new to solr and I would be very glad if I would get some hints to this. Regards, Johannes

Query during a query

2012-08-30 Thread Johannes . Schwendinger
Hi list, I want to get distinct data from a single solr field when ever a search query is started by an user. How can I do this? Regards, Johannes

Antwort: Re: Query during a query

2012-08-30 Thread Johannes . Schwendinger
Thanks for the answer, but I want to know how I can do a seperate query before the main query. And I only want this data in my programm. The user won't see it. I need the values from one field to get some information from an external source while the main query is executed. pravesh schrieb am

Antwort: Re: Antwort: Re: Query during a query

2012-09-02 Thread Johannes . Schwendinger
user. With this information and the first search words I query then the solr index to get the search result. I hope its clear now wheres my problem and what I want to do Regards, Johannes Von: "Jack Krupansky" An: Datum: 31.08.2012 15:03 Betreff: Re: Antwort: Re: Query during a qu

Solr Cell Questions

2012-09-24 Thread Johannes . Schwendinger
but i run into an out of memory exception. Thanks in advantage Best Regards Johannes

Antwort: Re: Solr Cell Questions

2012-09-25 Thread Johannes . Schwendinger
that came to my mind, how many documents per minute, second, what ever can i put into solr. Say XML format and from 100kb to 100MB. Is there a number or is it to dependent from hardware and settings? Best Johannes Erick Erickson schrieb am 25.09.2012 00:22:26: > Von: > > Erick Eric

Antwort: Re: Re: Solr Cell Questions

2012-09-25 Thread Johannes . Schwendinger
he file directly to solr via stream and don't collect them in my > > memory. > > > > And another question that came to my mind, how many documents per minute, > > second, what ever can i put into solr. Say XML format and from 100kb to > > 100MB. > > Is there a

Antwort: RE: Group.query

2012-09-26 Thread Johannes . Schwendinger
I think what you need is facetting, or is this another thing? http://searchhub.org/dev/2009/09/02/faceted-search-with-solr/ Peter Kirk schrieb am 26.09.2012 12:18:32: > Von: > > Peter Kirk > > An: > > "solr-user@lucene.apache.org" > > Datum: > > 26.09.2012 12:19 > > Betreff: > > RE: Gro

System collection - lazy loading mechanism not working for custom UpdateProcessors

2018-04-25 Thread Johannes Brucher
it helps sharing my configuration! Many thanks, Johannes

System collection - lazy loading mechanism not working for custom UpdateProcessors?

2018-04-25 Thread Johannes Brucher
it helps sharing my configuration! Many thanks, Johannes

AW: System collection - lazy loading mechanism not working for custom UpdateProcessors?

2018-04-26 Thread Johannes Brucher
tup the .system collection? Johannes -Ursprüngliche Nachricht- Von: Johannes Brucher [mailto:johannes.bruc...@shi-gmbh.com] Gesendet: Mittwoch, 25. April 2018 10:57 An: solr-user@lucene.apache.org Betreff: System collection - lazy loading mechanism not working for custom UpdateProces

AW: System collection - lazy loading mechanism not working for custom UpdateProcessors?

2018-04-26 Thread Johannes Brucher
getting: https://justpaste.it/5ziem Are there any restrictions how to setup the .system collection? Johannes -Ursprüngliche Nachricht- Von: Johannes Brucher [mailto:johannes.bruc...@shi-gmbh.com] Gesendet: Mittwoch, 25. April 2018 10:57 An: solr-user@lucene.apache.org&l

gzip compression solr 8.4.1

2020-04-23 Thread Johannes Siegert
tent-Length" if gzip-compression was used. We hope that in this case another InputStream implementation is used that uses the NULL-terminator to see when the InputStream was fully consumed. Do you have any experiences with this problem or any suggestions for us? Thanks, Johannes gzip.mod

Re: gzip compression solr 8.4.1

2020-05-05 Thread Johannes Siegert
Best, Johannes Am Do., 23. Apr. 2020 um 09:55 Uhr schrieb Johannes Siegert < johannes.sieg...@offerista.com>: > Hi, > > we want to use gzip-compression between our application and the solr > server. > > We use a standalone solr server version 8.4.1 and the prepackaged

ManagedFilter for stemming

2019-07-09 Thread Johannes Siegert
any solution for my problem? Thanks, Johannes