Re: Solrj problem

2014-05-15 Thread blach
I have added the dependency org.apache.httpcomponents httpclient [4.3.1] but still giving me the same error. -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-problem-tp4135030p4135047.html Sent from the Solr - User m

Difference between search strings

2014-05-15 Thread nativecoder
Can someone please tell me the difference between searching a text in the following ways 1. q=Exact_Word:"samplestring" -> What does it tell to solr ? 2. q=samplestring&qf=Exact_Word -> What does it tell to solr ? 3. q="samplestring"&qf=Exact_Word -> What does it tell to solr ? I think the

Re: dynamic field assignments

2014-05-15 Thread John Thorhauer
Chris, Thanks so much for the suggestion. I will look into this approach. It looks very promising! John On Mon, May 5, 2014 at 9:50 PM, Chris Hostetter wrote: > > : My understanding is that DynamicField can do something like > : FOO_BAR_TEXT_* but what I really need is *_TEXT_* as I might ha

Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I found the reason of weird format at my previous mail. Now I capture the data with wireshark and I see that it is pure XML and content type is set to application/xml? Any ideas about why it is not javabin? Thanks; Furkan KAMACI 2014-05-07 22:16 GMT+03:00 Furkan KAMACI : > Hmmm, I see tha

AnalyzingInfixLookupFactory with multiple cores

2014-05-15 Thread Michael Sokolov
It seems as if the location of the suggester dictionary directory is not core-specific, so when the suggester is defined for multiple cores, they collide: you get exceptions attempting to obtain the lock, and the suggestions bleed from one core to the other. There is an (undocumented) "indexP

Replica as a "leader"

2014-05-15 Thread adfel70
/Solr &Collection Info:/ Solr 4.8 , 4 shards, 3 replicas per shard, 30-40 million docs per shard. /Process:/ 1. Indexing 100-200 docs per second. 2. Doing Pkill -9 java to 2 replicas (not the leader) in shard 3 (while indexing). 3. Indexing for 10-20 minutes and doing hard commit. 4. Doing Pkill

Re: retreive all the fields in join

2014-05-15 Thread Mikhail Khludnev
On Sun, May 11, 2014 at 12:14 PM, Aman Tandon wrote: > Is it possible? no. -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics

Re: Too many documents Exception

2014-05-15 Thread yamazaki
Tanks, Jack. Is there a way to suppress setting this exception? For example, 2147483647 ? When this exception occurs, Index will not be read. If solrcloud is used, some data not read. shard1 documents 2^31-1 over shard2 documents 2^31-1 not over shard1 down. shard1 index is dead. -- yamazak

Re: Inconsistent response from Cloud Query

2014-05-15 Thread Vineet Mishra
Hi Shawn, There is no recovery case for me, neither the commit is pending. The case I am talking about is when I restart the Cloud all over again with index already flushed to disk. Thanks! On Sun, May 11, 2014 at 10:17 PM, Shawn Heisey wrote: > On 5/9/2014 11:42 AM, Cool Techi wrote: > > We

RE: Solr + SPDY

2014-05-15 Thread Markus Jelsma
Hi Harsh,   Does SPDY provide lower latency than HTTP/1.1 with KeepAlive or is it encryption that you're after?   Markus   -Original message- From:harspras Sent:Tue 13-05-2014 05:38 Subject:Re: Solr + SPDY To:solr-user@lucene.apache.org; Hi Vinay, I have been trying to setup a simil

KeywordTokenizerFactory splits the string for the exclamation mark

2014-05-15 Thread Romani Rupasinghe
Hi All I have a following field settings in solr schema As you can see Exact_Word has the KeywordTokenizerFactory and that should treat the string as it is. Following is my responseHeader. As you can see I am searching my string only in the filed Exact_Word and expecting it to return the

deep paging without sorting / keep IRs open

2014-05-15 Thread Tommaso Teofili
Hi all, in one use case I'm working on [1] I am using Solr in combination with a MVCC system [2][3], so that the (Solr) index is kept up to date with the system and must handle search requests that are tied to a certain state / version of it and of course multiple searches based on different versi

Re: Help to Understand a Solr Query

2014-05-15 Thread nativecoder
Hi All I have a following field settings in solr schema Exact_Word" omitPositions="true" termVectors="false" omitTermFreqAndPositions="true" compressed="true" type="string_ci" multiValued="false" indexed="true" stored="true" required="false" omitNorms="true"/> As you can see Exact_Word has

Re: Replica active during warming

2014-05-15 Thread lboutros
In other words, is there a way for the LBHttpSolrServer to ignore replicas which are currently "cold" ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Replica-active-during-warming-tp4135274p4135542.html Sent from the Solr - User mailing list a

Reiterating again in the solr returned result set

2014-05-15 Thread rio
Hi All I am given a requirement to check whether the user entered word is already entered by some other user. It has been suggested to do a solr search for this. Following is the schema for the word field type Exact_Word" omitPositions="true" termVectors="false" omitTermFreqAndPositions="true" c

Re: Error when creating collection

2014-05-15 Thread Shawn Heisey
On 5/13/2014 4:39 PM, Mark Olsen wrote: > I'm creating a collection via Java using this function call: > > String collection = "profile-2"; > CoreAdminRequest.Create createRequest = new CoreAdminRequest.Create(); > createRequest.setCoreName(collection); > createRequest.setCollection(collection)

Re: Easises way to insatll solr cloud with tomcat

2014-05-15 Thread Greg Walters
While solr can run under tomcat, the (strongly) recommended container is the jetty that comes with solr. In my experience it's possible to just deploy the solr.war to tomcat like any other J2EE app but it runs better under the included jetty. Thanks, Greg On May 14, 2014, at 9:39 AM, Matt Kuip

Re: Help to Understand a Solr Query

2014-05-15 Thread Jack Krupansky
Please don't re-use an existing message thread for a new, completely independent question! Also, try to make the subject line indicate something about the actual issue. -- Jack Krupansky -Original Message- From: nativecoder Sent: Tuesday, May 13, 2014 10:56 AM To: solr-user@lucene.

Re: Indexing DateField timezone problem

2014-05-15 Thread Ahmet Arslan
Hi Hakan, You could set -Duser.timezone="UTC" when starting solr. Ahmet On Wednesday, May 14, 2014 2:46 PM, hakanbillur wrote: Hi, I have a problem about indexin

is it possible for solr to calculate and give back the price of a product based on its sub-products

2014-05-15 Thread Mohamed23
Hi, I am using Solr for searching magento products in my project, I want to know, is it possible for solr to calculate and give back the price of a product based on its sub-products(items); For instance, i have a product P1 and it is the parent of items m1, m2. i need to get the minimal price of

Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I am testing Solrj. I use Solr 4.5.1 and HttpSolrServer for my test. I just generate some SolrInputDocuments and call add method of server to add them. When I track the request I see that data is at XML format instead of javabin. Do I miss anything? Thanks; Furkan KAMACI

Re: Physical Files v. Reported Index Size

2014-05-15 Thread Otis Gospodnetic
Darrell, Look at the top index.x directory in your second image. Looks like that's your index, the same one you see in the Solr UI. Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Tue, May 6, 2014 at 11:34 PM, Darrel

Re: Website running Solr

2014-05-15 Thread Michael Sokolov
On 5/11/2014 12:55 PM, Olivier Austina wrote: Hi All, Is there a way to know if a website use Solr? Thanks. Regards Olivier Ask the people who run the site?

New equivalent to QueryParsing.parseQuery()?

2014-05-15 Thread Jeff Leedy
I have some older code that works as expected in Solr 3.4: final IndexSchema indexSchema = new IndexSchema( new SolrConfig(solrHome + "/repository","solrconfig.xml",null), "schema.xml", null); final Query luceneQuery = QueryParsing.parseQuery(

Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hi; I have resolved my problem. I think that there is another problem with Solrj. I will send it another thread. Thanks; Furkan KAMACI 2014-05-08 17:17 GMT+03:00 Furkan KAMACI : > Hi; > > I found the reason of weird format at my previous mail. Now I capture the > data with wireshark and I see

Highlighting: single id:... x1000 vs (id: OR id: ... x1000)

2014-05-15 Thread Jochen Barth
Dear reader, I'll like to highlight very large ocr docs (termvectors=true etc.). Therefore I've made a separate "highlight store collection" where i'll want to higlight ids selected from an other query from a separate collection (containing the same ids). Now querying like this: q=ocr:abc AND i

callback with active state of solr core (solr ver 4.3.1)

2014-05-15 Thread ronak kirit
Hello, We are using solr ver 4.3.1 and running them in solrcloud mode. We would like to keep some dynamic configs under data directory of every shards and/or replica of a collection. I would like to know that if nodes in not in active state (lets say it is in recovery or other stats), and if it co

Re: search multiple cores

2014-05-15 Thread Alvaro Cabrerizo
As far as I know (and how i have been using it), the join can't do what you want. The structure of the query you could try (among others) is : 1. http://SOLR_ADDRESS/coreA/select?q=A&fq={!join ... fromCore=coreB}B 2. http://SOLR_ADDRESS/coreA/select?q=A AND _query_:"{!join

Indexing DateField timezone problem

2014-05-15 Thread hakanbillur
Hi, I have a problem about indexing UTC date format to solr from DB. For example, in DB, date:"2014-05-01 23:59:00" and same date: "date": "2014-05-01T20:59:00Z" in sol

Re: KeywordTokenizerFactory splits the string for the exclamation mark

2014-05-15 Thread Ahmet Arslan
Hi, It is not KeywordTokenizer, ! character has a special meaning to edismax and lucene query parser. It is NOT operator. If you want to search strings that could contain !, then use other query parsers. dismax for example.  On Wednesday, May 14, 2014 12:02 AM, nativecoder wrote: Hi All I

Is it possible for solr to calculate and give back the price of a product based on its sub-products

2014-05-15 Thread gharbi mohamed
Hi, I am using Solr for searching magento products in my project, I want to know, is it possible for solr to calculate and give back the price of a product based on its sub-products(items); For instance, i have a product P1 and it is the parent of items m1, m2. i need to get the minimal price of

Re: query(subquery, default) filters results

2014-05-15 Thread Matteo Grolla
Thanks very much, i realized too late that that I skipped an important part of the wiki documentation "this example assumes /detType=func" thanks a lot Il giorno 06/mag/2014, alle ore 21:05, Yonik Seeley ha scritto: > On Tue, May 6, 2014 at 5:08 AM, Matteo Grolla wrote: >> Hi everybody

Re: SolrMeter is dead?

2014-05-15 Thread Sameer Maggon
Have you looked at JMeter - http://jmeter.apache.org/ Thanks, Sameer. -- http://measuredsearch.com On Wed, May 7, 2014 at 7:51 AM, Al Krinker wrote: > I am trying to test performance of my cluster (solr 4.8). > > SolrMeter looked promising... small and standalone. Plus, open source so > that I

Storing tweets For WC2014

2014-05-15 Thread Cool Techi
Hi, We have a requirement from one of our customers to provide search and analytics on the upcoming Soccer World cup, given the sheer volume of tweet's that would be generated at such an event I cannot imagine what would be required to store this in solr. It would be great if there can be some

Re: range types in SOLR

2014-05-15 Thread Ere Maijala
David, thanks, looking forward to LUCENE-5648. I added a comment about supporting BC dates. We currently use the spatial support to index date ranges with a precision of one day, ranging from year - to . Just for the record, I had some issues converting bounding box Intersects querie

Re: Difference between search strings

2014-05-15 Thread Jack Krupansky
Inside of quotes you only have to escape quote and backslash. Add the debugQuery=true parameter to see exactly how Solr processes characters and generates queries. But... in a URL you have to URL-encode URL query parameters: http://en.wikipedia.org/wiki/Query_string -- Jack Krupansky -Or

Solr, How to index scripts *.sh and *.SQL

2014-05-15 Thread Visser, Marc
HI All, Recently I have set up an image with SOLR. My goal is to index and extract files on a Windows and Linux server. It is possible for me to index and extract data from multiple file types. This is done by the SOLR CELL request handler. See the post.jar cmd below. j ava -Dauto -Drecursive -

Re: Solrj problem

2014-05-15 Thread blach
Hello Shawn, according to this : https://issues.apache.org/jira/browse/SOLR-5590 I understand that solrj is still depends on the old httpclient shipped with android tools, and this is my problem too. KARL has made an patch, could you please explain what that patch for, how can I use it in to sol

Sorting by custom function query

2014-05-15 Thread Emanuele Filannino
Hi there, I'm running into some issues developing a custom function query using Solr 3.6.2. My goal is to be able to implement a custom sorting technique. I have a field called daily_prices_str, it is a single value str. Example: 2014-05-01:130 2014-05-02:130 2014-05-03:130 2014-05-04:130 201

Re: Please add me to Contributors Group

2014-05-15 Thread Stefan Matheis
Hey I’ve added you, thanks for contributing :) -Stefan On Tuesday, May 13, 2014 at 1:03 PM, Gireesh C. Sahukar wrote: > Hi, > > I'd like to be added to the contributors group. My wiki username is gireesh > > > Thanks > > Gireesh >

Re: Solr, How to index scripts *.sh and *.SQL

2014-05-15 Thread Alexei Martchenko
Same in Windows. just plain text files, no metadata, no headers. alexei martchenko Facebook | Linkedin| Steam | 4sq| Skype: alexe

Difference between search strings

2014-05-15 Thread rio
Can someone please tell me the difference between searching a text in the following ways 1. q=Exact_Word:"samplestring" -> What does it tell to solr ? 2. q=samplestring&qf=Exact_Word -> What does it tell to solr ? 3. q="samplestring"&qf=Exact_Word -> What does it tell to solr ? I think the

Re: Solrj Default Data Format

2014-05-15 Thread Furkan KAMACI
Hmmm, I see that it is like XML format but not. I have added three documents but has something like that: id1 id2 id3 id4 d1 d2 d3 d4 is this javabin format? I mean optimizing XML and having a first byte of "2"? Thanks; Furkan KAMACI 2014-05-07 22:04 GMT+

Short hangs when doing collection alias updates

2014-05-15 Thread Greg Walters
Good day list members. I've got a couple solr clusters in cloud mode that make use of collection aliases for offline indexing that we rotate into when indexing is complete. Every time we rotate we see a huge jump in response time, a couple timeouts and a jump in threads. You can see the results

RE: Easises way to insatll solr cloud with tomcat

2014-05-15 Thread Matt Kuiper
Check out http://heliosearch.com/download.html This is a distribution of Apache Solr packaged with Tomcat. I have found it simple to use. Matt -Original Message- From: Aman Tandon [mailto:amantandon...@gmail.com] Sent: Monday, May 12, 2014 6:24 AM To: solr-user@lucene.apache.org Subj