Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
I am not searching for phrase query, I am not sure why it shows up in parsedquery. 0 3 true true egg salad 1377569284170 xml -- View this message in context: http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624p4086732.h

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
here is keywords field for 3 docs, "Simply Asia products,Simply Asia,Sesame Chicken Egg Drop Soup,Soy Ginger Shrimp and Noodle Salad,Sesame Teriyaki Noodle Bowl" "Eggs,AllWhites,Better'n Eggs,Foods,AllWhites or Better'n Eggs" "DOLE Salad Blend Salad Kit,Salad Kit,Salad,DOLE,produce" Here is my

Re: custom names for replicas in solrcloud

2013-08-26 Thread smanad
Is coreNodeName exposed via collections api? -- View this message in context: http://lucene.472066.n3.nabble.com/custom-names-for-replicas-in-solrcloud-tp4086205p4086628.html Sent from the Solr - User mailing list archive at Nabble.com.

Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
Hi, I have some documents with keywords "egg" and some with "salad" and some with "egg salad". When I search for egg salad, I expect to see egg results + salad results. I dont see them. egg and salad queries individually work fine. I am using whitespacetokenizer. Not sure if I am missing somet

custom names for replicas in solrcloud

2013-08-22 Thread smanad
Hi, I am using Solr 4.3 with 3 solr hosta and with an external zookeeper ensemble of 3 servers. And just 1 shard currently. When I create collections using collections api it creates collections with names, collection1_shard1_replica1, collection1_shard1_replica2, collection1_shard1_replica3. I

entity classification solr

2013-08-06 Thread smanad
I have the following situation when using Solr 4.3. My document contains "entities" for example "peanut butter". I have a list of such entities. These are items that go together and are not to be treated as two individual words. During indexing, I want solr to realize this and treat "peanut butter

debian package for solr with jetty

2013-07-31 Thread smanad
Hi, I am trying to create a debian package for solr 4.3 (default installation with jetty). Is there anything already available? Also, I need 3 different cores so plan to create corresponding packages for each of them to create solr core using admin/cores or collections api. I also want to use

no servers hosting shard

2013-07-31 Thread smanad
I have setup solr cloud and when I try to access documents I get this error, no servers hosting shard: 503 However if I add shards=shard1 param it works. -- View this message in context: http://lucene.472066.n3.nabble.com/no-servers-hosting-shard-tp4081783.html Sent from the Solr - User maili

spellcheck and search in a same solr request

2013-07-22 Thread smanad
Hey, Is there a way to do spellcheck and search (using suggestions returned from spellcheck) in a single Solr request? I am seeing that if my query is spelled correctly, i get results but if misspelled, I just get suggestions. Any pointers will be very helpful. Thanks, -Manasi -- View this

Use same spell check dictionary across different collections

2013-07-22 Thread smanad
I have 2 collections, lets say coll1 and coll2. I configured solr.DirectSolrSpellChecker in coll1 solrconfig.xml and works fine. Now, I want to configure coll2 solrconfig.xml to use SAME spell check dictionary index created above. (I do not want coll2 prepare its own dictionary index but just do

Spellcheck questions

2013-07-18 Thread smanad
Exploring various SpellCheckers in solr and have a few questions, 1. Which algorithm is used for generating suggestions when using IndexBasedSpellChecker. I know its Levenshtein (with edit distance=2 - default) in DirectSolrSpellChecker. 2. If i have 2 indices, can I setup multiple IndexBasedSpell

Exception when using File based and Index based SpellChecker

2013-07-17 Thread smanad
I am trying to use Filebased and index based spell checker and getting this exception "All checkers need to use the same StringDistance." They work fine as expected individually but not together. Any pointers? -Manasi -- View this message in context: http://lucene.472066.n3.nabble.com/Except

Re: Switching to using SolrCloud with tomcat7 and embedded zookeeper

2013-07-17 Thread smanad
7;t any benefit?) but assuming you wanted to do it for expansion > reasons (to add replicas later on), then each one will need to have a > distinct collection.configName parameter, so that ZK knows to keep the > configs separate. > > > > On 17 July 2013 07:44, smanad < >

Switching to using SolrCloud with tomcat7 and embedded zookeeper

2013-07-16 Thread smanad
I am running solr 4.3 with tomcat 7 (with non SolrCloud) and have 4 solr cores running. Switching to start using SolrCloud with tomcat7 and embedded zookeeper I updated JAVA_OPTS in this file tomcat7/bin/setenv.sh to following, JAVA_OPTS="-Djava.awt.headless=true -Xms2048m -Xmx4096m -XX:+UseConc

"select in" clause in solr

2013-07-15 Thread smanad
I am using solr 4.3 and have 2 collections coll1, coll2. After searching in coll1 I get field1 values which is a comma separated list of strings like, val1, val2, val3,... valN. How can I use that list to match field2 in coll2 with those values separated by an OR clause. So i want to return all do

Normalizing/Returning solr scores between 0 to 1

2013-06-27 Thread smanad
Hi, We have a need where we would want normalized scores from score ranging between 0 to 1 rather than a free range. I read about it @ http://wiki.apache.org/lucene-java/ScoresAsPercentages and seems like thats not something that is recommended. However, is there still a way to set some config i

Re: update solr.xml dynamically to add new cores

2013-06-21 Thread smanad
Gr8! thanks a lot! -- View this message in context: http://lucene.472066.n3.nabble.com/update-solr-xml-dynamically-to-add-new-cores-tp4071800p4072190.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Partial update using solr 4.3 with csv input

2013-06-20 Thread smanad
t. There just isn't any place to > put > the atomic update options in such a simple text format. > > -- Jack Krupansky > > -Original Message- > From: smanad > Sent: Wednesday, June 19, 2013 8:30 PM > To: > solr-user@.apache > Subject: Partial

Re: update solr.xml dynamically to add new cores

2013-06-20 Thread smanad
Developer > > o: +1 646 532 3062 | c: +1 917 477 7906 > > appinions inc. > > “The Science of Influence Marketing” > > 18 East 41st Street > > New York, NY 10017 > > t: @appinions <https://twitter.com/Appinions>; | g+: > plus.google.com/appinions

Partial update using solr 4.3 with csv input

2013-06-19 Thread smanad
I was going through this link http://solr.pl/en/2012/07/09/solr-4-0-partial-documents-update/ and one of the comments is about support for csv. Since the comment is almost a year old, just wondering if this is still true that, partial updates are possible only with xml and json input? Thanks,

update solr.xml dynamically to add new cores

2013-06-19 Thread smanad
Hi, Is there a way to edit solr.xml as a part of debian package installation to add new cores. In my use case, there 4 solr indexes and they are managed/configured by different teams. The way I am thinking packages will work is as described below, 1. There will be a solr-base debian package which

Re: Need help with search in multiple indexes

2013-06-12 Thread smanad
In my case, different teams will be updating indexes at different intervals so having separate cores gives more control. However, I can still update(add/edit/delete) data with conditions like check for doc type. Its just that, using shards sounds much cleaner and readable. However, I am not yet s

Re: Need help with search in multiple indexes

2013-06-12 Thread smanad
Is this a limitation of solr/lucene, should I be considering using other option like using Elasticsearch (which is also based on lucene)? But I am sure search in multiple indexes is kind of a common problem. Also, i as reading this post http://stackoverflow.com/questions/2139030/search-multiple-s

Re: Need help with search in multiple indexes

2013-06-12 Thread smanad
Thanks for the reply Michael. In some cases schema is similar but not all of them. So lets go with assumption schema NOT being similar. I am not quite sure what you mean by "you're probably stuck coordinating the results externally. " Do you mean, searching in each index and then somehow merge r

Need help with search in multiple indexes

2013-06-12 Thread smanad
Hi, I am thinking of using Solr to implement Search on our site. Here is my use case, 1. We will have multiple 4-5 indexes based on different data types/structures and data will be indexed into these by several processes, like cron, on demand, thru message queue applications, etc. 2. A single w

Re: Scheduling DataImports

2013-05-24 Thread smanad
Thanks for the reply. Regarding second question, actually thats what I am looking for. My use case is, my DIH runs for 2 httpdatasources, api1 and api2 with different ttls returned. I was thinking of saving this in a file something like, url:api1, timestamp:100, expires: 60 url:api2, timestamp

Scheduling DataImports

2013-05-22 Thread smanad
Hi, I am new to Solr and recently started exploring it for search/sort needs in our webapp. I have couple of questions as below, (I am using solr 4.2.1 with default core named collection1) 1. We have a use case where we would like to index data every 10 mins (avg). Whats the best way to schedule