Meta-search by subclassing SearchHandler

2013-08-15 Thread Dan Davis
I am considering enabling a true "Federated Search", or meta-search, using the following basic configuration (this configuration is only for development and evaluation): Three Solr cores: - One to search data I have indexed locally - One with a custom SearchHandler that is a facade, e.g. it

Re: SolrCloud Load Balancer "weight"

2013-08-15 Thread Tim Vaillancourt
Soon ended up being a while :), feel free to add any thoughts. https://issues.apache.org/jira/browse/SOLR-5166 Tim On 07/06/13 03:07 PM, Vaillancourt, Tim wrote: Cool! Having those values influenced by stats is a neat idea too. I'll get on that soon. Tim -Original Message- From: Ma

Where is the webapps directory of servlet container?

2013-08-15 Thread Kamaljeet Kaur
Hello, They write in the reference guide , "Copy the solr.war file from the Solr distribution to the webapps directory of your servlet container. " I can't find the webapps directory of the Servlet Container- Java. Please help.

is indirection possible?

2013-08-15 Thread Sandy Mustard
I am relatively new to the use of Solr. I have a set of documents with fields that contain the id of other documents. Is it possible to specify a query that will return the related documents? Doc 1 id=444, name=First Document, pointer=777 Doc 2 id=777, name=Next Document, pointer=555 ...

Re: AND not working

2013-08-15 Thread Steven Bower
https://issues.apache.org/jira/browse/SOLR-5163 On Thu, Aug 15, 2013 at 6:04 PM, Steven Bower wrote: > @Yonik that was exactly the issue... I'll file a ticket... there def > should be an exception thrown for something like this.. > > It would seem to me that eating any sort of exception is a re

Re: AND not working

2013-08-15 Thread Steven Bower
@Yonik that was exactly the issue... I'll file a ticket... there def should be an exception thrown for something like this.. It would seem to me that eating any sort of exception is a really bad thing... steve On Thu, Aug 15, 2013 at 5:59 PM, Yonik Seeley wrote: > I can reproduce something li

Re: AND not working

2013-08-15 Thread Yonik Seeley
I can reproduce something like this by specifying a field that doesn't exist for a "qf" param. This seems like a bug... if a field doesn't exist, we should throw an exception (since it's a parameter error not related to the "q" string where we avoid throwing any errors). -Yonik http://lucidworks.c

Re: AND not working

2013-08-15 Thread Jack Krupansky
If something causes an exception when edismax has called the basic Lucene query parser, edismax will eat the exception, escape operators (your "AND") and reparse, where your "AND" then gets treated as a simple term. Maybe some difficulty in your field type analyzer? We need to see your full qu

Re: list docs with geo location info

2013-08-15 Thread Mingfeng Yang
Figured out. use author_geo:[* TO *] will do the trick. On Thu, Aug 15, 2013 at 1:26 PM, Mingfeng Yang wrote: > I have a schema with a geolocation field named "author_geo" defined as > > stored="true" /> > > How can I list docs whose author_geo fields are not empty? > > Seems filter query

Re: Synonym Expansion in Spellchecking Field Solr 4.3.1

2013-08-15 Thread Brendan Grainger
Hi All, I didn't have the lucene-solr source compiling cleaning in eclipse initially so I created a very quick maven project to demonstrate this issue: https://github.com/rainkinz/solr_spellcheck_index_out_of_bounds.git Having said that I just got everything set up in eclipse, so I can create a

AND not working

2013-08-15 Thread Steven Bower
I have query like: q=foo AND bar defType=edismax qf=field1 qf=field2 qf=field3 with debug on I see it parsing to this: (+(DisjunctionMaxQuery((field1:foo | field2:foo | field3:foo)) DisjunctionMaxQuery((field1:and | field2:and | field3:and)) DisjunctionMaxQuery((field1:bar | field2:bar | field3:

list docs with geo location info

2013-08-15 Thread Mingfeng Yang
I have a schema with a geolocation field named "author_geo" defined as How can I list docs whose author_geo fields are not empty? Seems filter query "fq=author_geo:*" does not work like other fields which are string or text or float type. curl 'localhost/solr/select?q=*:*&rows=10&wt=json&inde

Re: Indexoutofbounds size: 9 index: 8 with data import handler

2013-08-15 Thread eShard
Ok, these errors seem to be caused by passing incorrect parameters in a search query. Such as: spellcheck=extendedResults=true instead of spellcheck.extendedResults=true Thankfully, it seems to have nothing to do with the DIH at all. -- View this message in context: http://lucene.472066.n3.n

Large cache settings values - sanity check

2013-08-15 Thread Eoghan Ó Carragáin
Hi, I’m involved in the an open source project called Vufind which uses Solr to search across library catalogue records [1]. The project uses what seems to be very high defaults cache settings in solrconfig.xml [2]: - filterCache (size="30" initialSize="30" autowarmCount="5"),

Re: Synonym Expansion in Spellchecking Field Solr 4.3.1

2013-08-15 Thread Brendan Grainger
Further to this. If I change: tpms,service tire monitor,tire monitor,tire pressure monitor,tire pressure monitoring system,tpm,low tire warning,tire pressure monitor system to service tire monitor,tire monitor,tire pressure monitor,tire pressure monitoring system,tpm,low tire warning,tire pressu

Synonym Expansion in Spellchecking Field Solr 4.3.1

2013-08-15 Thread Brendan Grainger
Hi All, I've been debugging an issue where the query 'tpms' would make the spellchecker throw the following exception: 21021 [qtp91486057-17] ERROR org.apache.solr.servlet.SolrDispatchFilter – null:java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.AbstractStri

AUTO: Siobhan Roche is out of the office (returning 26/08/2013)

2013-08-15 Thread Siobhan Roche
I am out of the office until 26/08/2013. I will respond to your query on my return. For any urgent queries, please contact Andrew Morrison. Thanks Siobhan Note: This is an automated response to your message "Re: SOLR4 Spatial sorting and query string" sent on 15/08/2013 16:10:07. This is the

Re: SOLR4 Spatial sorting and query string

2013-08-15 Thread David Smiley (@MITRE.org)
Hi Roy, You'll have to calculate this client-side. I am aware of this conundrum and I put up a TODO JIRA item for it here months ago: https://issues.apache.org/jira/browse/SOLR-4633It actually shouldn't be that hard to do. ~ David roySolr wrote > Hello David, > > The first months there w

Indexoutofbounds size: 9 index: 8 with data import handler

2013-08-15 Thread eShard
Good morning, I'm using solr 4.0 final on tomcat 7.0.34 on linux I created 3 new data import handlers to consume 3 RSS feeds. They seemed to work perfectly. However, today, I'm getting these errors: 10:42:17SEVERE SolrCorejava.lang.IndexOutOfBoundsException: Index: 9,​ Size: 8 10:

Re: Question about filter query: "half" of my index is slower than the other?

2013-08-15 Thread Dmitry Kan
@Erick: thanks for sharing the knowledge on the hit ratio - evictions interplay. Sounds quite reasonable. Dmitry On Sat, Aug 10, 2013 at 3:11 AM, Erick Erickson wrote: > To add to what Shawn said, this filterCache is enormous. The key statistics > are > the hit ratio and evictions. Evictions ar

sort different groups using different boost fields, not by score

2013-08-15 Thread Gerd Koenig
Hi, I'd like to ask for your support at how I can boost different groups by using different fields. The current query "select?defType=edismax&q=madonna&group=true&group.field=type&group.limit=3" returns drinks ... food ... The documents within each groupValue are sorted by score (defau

Re: SOLR4 Spatial sorting and query string

2013-08-15 Thread roySolr
Hello David, The first months there will be not that many points in a doc, i will keep the topic in mind! The next step is that i want to now which location matched my query. Example: Product A is available in 3 stores, the doc looks like this: / Product A store1_geo store2_geo store3_ge

Solr 4.3 and above core swap

2013-08-15 Thread richardg
Since upgrading to solr 4.3 we get the following errors on our slaves when we swap cores on our master and is still an issue on 4.4: Solr index directory '/usr/local/solr_aggregate/solr_aggregate/data/index.20130513152644966' is locked. Throwing exception SEVERE: Unable to reload core: productio

Re: Troubles defining suggester/ understanding results

2013-08-15 Thread Jack Krupansky
To say some of that more specifically, the keyword tokenizer returns the full input as one long token (embedded spaces and all) and the regex filter modifies that one long token (replacing some characters with spaces) but it remains as one long token, so the final output is a single token with n

Re: Troubles defining suggester/ understanding results

2013-08-15 Thread Jack Krupansky
Isn't your phrase_suggest analyzer always going to treat every input string as one single token, and that single token is what the suggester is returning? And, that single token starts with "th", not "lab"? Is that what you want? Try using the Solr admin UI analyzer page to verify how the anal

Re: Solr4 update and query performance question

2013-08-15 Thread Erick Erickson
bq: There is no batching while updating/inserting documents in Solr3 Correct, but all the updates only went to the server you targeted them for. The batching you're seeing is the auto-distributing the docs to the various shards, a whole different animal. Keep an eye on: https://issues.apache.org/

Re: PostingsHighlighter returning fields which don't match

2013-08-15 Thread ses
Thanks, we tried modifying the source as suggested but found in our case PostingsHighlighter was returning no highlighting at all once we removed the self-closing tags. I think perhaps we were not using it in the correct way. Robert Muir wrote > Do you want to open a JIRA issue to just change the

Troubles defining suggester/ understanding results

2013-08-15 Thread Mysurf Mail
I am having troubles defining suggester for auto complete after reading the tutorial. Here are my shcema definitions: ... I also added two field types Now since I want to make suggestions from multiple fields and I cant declare two fields I d

Re: Who's cleaning the Fieldcache?

2013-08-15 Thread Andrea Gazzarini
Hi Chris, Robert Thank you very much. First, answers to your questions: 1) which version of Solr are you using? 3.6.0 2) is it possibly you have multiple searchers open (ie: one in use while another one is warming up) when you're seeing these stats? No, no multiple searchers. Now, after on

Re: Getter API for SolrCloud

2013-08-15 Thread Furkan KAMACI
Here is a conversation about it: http://lucene.472066.n3.nabble.com/SolrCloud-with-Zookeeper-ensemble-in-production-environment-SEVERE-problems-td4047089.html However the result of conversation is not clear. Any ideas? 2013/8/15 Furkan KAMACI > I've implemented an application that connects my U

Getter API for SolrCloud

2013-08-15 Thread Furkan KAMACI
I've implemented an application that connects my UI and SolrCloud. I want to write a code that makes a search request to SolrCloud and I will send result to my UI. I know that there are some examples about it by I want a fast and really good way for it. One way I did: ModifiableSolrParams params =