How get around solr's spellcheck maxEdit limit of 2?

2016-01-21 Thread Nitin Solanki
I am using Solr for spell Correction. Solr is limited to maxEdit of 2. Does there is anyway to increase that maxEdit without using phonetic mapping ? Please any suggestions

Re: How get around solr's spellcheck maxEdit limit of 2?

2016-01-22 Thread Nitin Solanki
: Re: How get around solr's spellcheck maxEdit limit of 2? > > bq: ...is anyway to increase that maxEdit > > IIUC, increasing maxEdit beyond 2 increases the space/time required > unacceptably, that limit is there on purpose, put there by people who > know their stuff. > >

Build Java Package for required schema and solrconfig files field and configuration.

2016-04-26 Thread Nitin Solanki
Hello Everyone, I have created a autosuggest using Solr suggester. I have added a field and field type in schema.xml and did some changes in /suggest request handler into solrconfig.xml. Now, I need to build a java package using those configuration which I need to plug into

Hard Commit not working

2015-07-30 Thread Nitin Solanki
Hi, I am trying to index documents using solr cloud. After setting, to 6 ms in hard commit. Documents are visible instantly while adding them. Not commiting after 6 ms. I have added Solr log. Please check it. I am not getting exactly what is happening. *CURL to commit documents:*

Re: Hard Commit not working

2015-07-30 Thread Nitin Solanki
it to a higher value like > 1, for example. > > Edward > Em 30/07/2015 11:43, "Nitin Solanki" escreveu: > > > Hi, > >I am trying to index documents using solr cloud. After setting, > > to 6 ms in hard commit. Documents are visible insta

Concurrent Indexing and Searching in Solr.

2015-08-07 Thread Nitin Solanki
Hello Everyone, I have indexed 16 million documents in Solr Cloud. Created 4 nodes and 8 shards with single replica. I am trying to make concurrent indexing and searching on those indexed documents. Trying to make 100 concurrent indexing calls along with 100 concurrent sea

Re: Concurrent Indexing and Searching in Solr.

2015-08-07 Thread Nitin Solanki
ce. Dunno what others would say, but I'd aim for > approx one indexing thread per CPU. > > Upayavira > > On Fri, Aug 7, 2015, at 02:58 PM, Nitin Solanki wrote: > > Hello Everyone, > > I have indexed 16 million documents in Solr > > Clo

Re: Concurrent Indexing and Searching in Solr.

2015-08-07 Thread Nitin Solanki
context switching, > > hence degraded performance. Dunno what others would say, but I'd aim for > > approx one indexing thread per CPU. > > > > Upayavira > > > > On Fri, Aug 7, 2015, at 02:58 PM, Nitin Solanki wrote: > >> Hello Everyone, > >&

Re: Concurrent Indexing and Searching in Solr.

2015-08-07 Thread Nitin Solanki
ith replicas, 5.2 will index almost > twice as > fast. That means (roughly) half the work on the followers is being done, > freeing up cycles for performing queries. > > Best, > Erick > > > On Fri, Aug 7, 2015 at 2:06 PM, Nitin Solanki > wrote: > > Hi Erick, >

Re: Concurrent Indexing and Searching in Solr.

2015-08-07 Thread Nitin Solanki
move th > commit=true. That's likely way more important than the rest. > > Best, > Erick > > On Fri, Aug 7, 2015 at 3:15 PM, Nitin Solanki > wrote: > > Hi Erick, > > posting files to Solr via curl => > > Rather than posting files via cur

Re: Concurrent Indexing and Searching in Solr.

2015-08-09 Thread Nitin Solanki
ongoDB can handle concurrent searching and indexing faster. Then why not solr? Sorry for this.. On Mon, Aug 10, 2015 at 2:39 AM Shawn Heisey wrote: > On 8/7/2015 1:15 PM, Nitin Solanki wrote: > > I wrote a python script for indexing and using > > urllib and urllib2 for indexing data v

Make search faster in Solr

2015-08-10 Thread Nitin Solanki
Hi, I have 32 shards and single replica of each shards having 4 nodes over Solr cloud. I have indexed 16 million documents. Without cache, total time taken to search a document is 0.2 second. And with cache is 0.04 second. I don't do anything of cache. Caches are set by default in solrconfi

Is cache enabled by default?

2015-08-10 Thread Nitin Solanki
Hi, I have commented "querycache, filterquerycache and document cache". Still searching is using cache. why so? 2) First time searching a query, it takes time and afterwards, it can't due to cache, I know that. But how to make search always faster even first time searching?

Re: Concurrent Indexing and Searching in Solr.

2015-08-10 Thread Nitin Solanki
g and indexing faster. > > Because MongoDB is optimized for different kinds of operations. Solr > is a ranking, > free-text search engine. It's an apples-and-oranges comparison. If MongoDB > meets your search needs, you should use it. > > Best, > Erick > > On Sun,

Re: Make search faster in Solr

2015-08-10 Thread Nitin Solanki
and tuned accordingly. You should study about caches a bit here > > https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig > > > > On Mon, Aug 10, 2015 at 4:34 PM, Nitin Solanki > wrote: > > > Hi, > > I have 32 shards and single

Re: Make search faster in Solr

2015-08-10 Thread Nitin Solanki
Hi davidphilip, Without caching, Can we do fast searching? On Tue, Aug 11, 2015 at 11:43 AM Nitin Solanki wrote: > Okay davidphilip. > > On Mon, Aug 10, 2015 at 8:24 PM davidphilip cherian < > davidphilipcher...@gmail.com> wrote: > >> Hi Ni

IOException, ConnectionTimeout Error while searching

2015-08-25 Thread Nitin Solanki
Hello, I indexed 2 million documents and after completing indexing. I tried for searching. It throws IOException and Connection Timeout Error. "error":{ "msg":"org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: http://192.168.1.25:8983/so

Re: Collations are not working fine.

2015-02-17 Thread Nitin Solanki
=gram_ci:"gone wthh thes wint"&wt=json&indent=true&shards.qt=/spell > > James Dyer > Ingram Content Group > > > -Original Message- > From: Nitin Solanki [mailto:nitinml...@gmail.com] > Sent: Friday, February 13, 2015 1

Re: Collations are not working fine.

2015-02-17 Thread Nitin Solanki
D > 1000 > > > *Rajesh.* > > On Fri, Feb 13, 2015 at 1:01 PM, Dyer, James > > wrote: > > > Nitin, > > > > Can you post the full spellcheck response when you query: > > > > q=gram_ci:"gone wthh thes wint"&wt=json&indent=true

Re: Collations are not working fine.

2015-02-17 Thread Nitin Solanki
jesh.* > > On Fri, Feb 13, 2015 at 1:01 PM, Dyer, James > > wrote: > > > Nitin, > > > > Can you post the full spellcheck response when you query: > > > > q=gram_ci:"gone wthh thes wint"&wt=json&indent=true&shards.qt=/spell > >

Sort collation on hits.

2015-02-17 Thread Nitin Solanki
Hi, All I want to sort the collations on hits in descending order. How to do ?

spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-17 Thread Nitin Solanki
Hello Everyone, I got confusion between spellcheck.count and spellcheck.alternativeTermCount in Solr. Any help in details?

Re: spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-17 Thread Nitin Solanki
Any help please? On Tue, Feb 17, 2015 at 4:57 PM, Nitin Solanki wrote: > Hello Everyone, > I got confusion between spellcheck.count and > spellcheck.alternativeTermCount in Solr. Any help in details? >

Collations are not using suggestions to build collations

2015-02-17 Thread Nitin Solanki
Hi, I want to build collations using suggestions of the query. But collations are building without using suggestions, they are using its own suggesters*(misspellingsAndCorrections)* and don't know from where these suggestions are coming. You can see the result by seeing below response fo

Re: spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-17 Thread Nitin Solanki
same value, unless you want fewer suggestions when > the terms is in the dictionary. > > James Dyer > Ingram Content Group > > -Original Message- > From: Nitin Solanki [mailto:nitinml...@gmail.com] > Sent: Tuesday, February 17, 2015 5:27 AM > To: solr-user@lucene.a

Re: spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-17 Thread Nitin Solanki
ent in your dictionary field has "life" in it > - also suppose zero documents in your dictionary field have "hope" in them > - The spellchecker will try to return you up to 10 suggestions for "hope", > but only up to 5 suggestions for "life" > > Jam

Collations problem even term is available in documents.

2015-02-17 Thread Nitin Solanki
Hi, I am misspelling a query "hota hai" to "hota hain". Inside collations, "hota hai" is not coming, instead of that "hot main, home have. etc" are coming. I have 37 documents where "hota hai" is present. *URL: *localhost:8983/solr/wikingram/spell?q=gram_ci:"hota hain"&wt=json&indent=true&

Re: spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-18 Thread Nitin Solanki
Hi James, How to see the suggestions of spellcheck.alternativeTermCount ? On Wed, Feb 18, 2015 at 11:09 AM, Nitin Solanki wrote: > Thanks James, > I tried the same thing > spellcheck.count=10&spellcheck.alternativeTermCount=5. And I got 5 >

Why collations are coming even I set the value of spellcheck.count to zero(0)

2015-02-18 Thread Nitin Solanki
Hi Everyone, I have set the value of spellcheck.count = 0 and spellcheck.alternativeTermCount = 0. Even though collations are coming when I search any query which is misspelled. Why so? I also set the value of spellcheck.maxCollations = 100 and spellcheck.maxCollationTries = 100

How to place whole indexed data on cache

2015-02-18 Thread Nitin Solanki
Hi, How can I place whole indexed data on cache by which if I will search any query then I will get response, suggestions, collations rapidly. And also how to view that which documents are on cache and how to verify it?

Get nearby suggestions for any phrase searching

2015-02-18 Thread Nitin Solanki
Hello, I want to retrieve only top- five suggestions for any phrase/query searching. How to do that? Assume, If I search like ?q="the bark night" then I need suggestion/ collation like "the dark knight". How to get nearby suggestion/ terms of the phrase?

Divide 4 Nodes into 100 nodes in Solr Cloud

2015-02-18 Thread Nitin Solanki
Hi, I have created 4 nodes having 8 shards. Now, I want to divide those 4 Nodes into 100 Nodes without any failure/ or re-indexing the data. Any help please?

Re: Divide 4 Nodes into 100 nodes in Solr Cloud

2015-02-18 Thread Nitin Solanki
Okay, It will destroy/harm my indexed data. Right? On Wed, Feb 18, 2015 at 9:01 PM, Yago Riveiro wrote: > You can try the SPLIT command > > > — > /Yago Riveiro > > On Wed, Feb 18, 2015 at 3:19 PM, Nitin Solanki > wrote: > > > Hi, > > I have creat

Re: spellcheck.count v/s spellcheck.alternativeTermCount

2015-02-19 Thread Nitin Solanki
ive you suggestions up to the number you specify, but if > fewer are available it will not give you any more. > > James Dyer > Ingram Content Group > > -Original Message----- > From: Nitin Solanki [mailto:nitinml...@gmail.com] > Sent: Tuesday, February 17, 2015 11:40 PM &g

Re: How to place whole indexed data on cache

2015-02-19 Thread Nitin Solanki
ange.com/questions/88693/why-is-swappiness-set-to-60-by-default > > Dominique > http://www.eolya.fr/ > > > 2015-02-18 14:39 GMT+01:00 Shawn Heisey : > > > On 2/18/2015 4:20 AM, Nitin Solanki wrote: > > > How can I place whole indexed data on cache by which if I w

Re: Divide 4 Nodes into 100 nodes in Solr Cloud

2015-02-19 Thread Nitin Solanki
hawn Heisey wrote: > On 2/18/2015 8:17 AM, Nitin Solanki wrote: > > I have created 4 nodes having 8 shards. Now, I want to divide > those > > 4 Nodes into 100 Nodes without any failure/ or re-indexing the data. Any > > help please? > > I think your only real opt

Auto-correct the phrase/query

2015-02-19 Thread Nitin Solanki
Hello, I want to do same like google phrase/spell correction. If anyone type a query "the dark night" then I need a suggestion like "the dark knight" in Solr. Is there anyway to do this?

Re: Divide 4 Nodes into 100 nodes in Solr Cloud

2015-02-19 Thread Nitin Solanki
Okay, thanks Shawn.. On Thu, Feb 19, 2015 at 7:59 PM, Shawn Heisey wrote: > On 2/19/2015 4:18 AM, Nitin Solanki wrote: > >Sorry, I think, you both are taking about > > shard splitting but I want node splitting. I have 4 nodes. Each node has >

Advantage of using Java programming with Solr over Solr API

2015-02-20 Thread Nitin Solanki
Hi, What is the advantages of java programming with Solr over Solr API?

Use multiple collections having different configuration

2015-02-20 Thread Nitin Solanki
Hello, I have scenario where I want to create/use 2 collection into same Solr named as collection1 and collection2. I want to use distributed servers. Each collection has multiple shards. Each collection contains different configurations(solrconfig.xml and schema.xml). How can I do? In

Re: Advantage of using Java programming with Solr over Solr API

2015-02-20 Thread Nitin Solanki
I mean embedded Solr . On Fri, Feb 20, 2015 at 7:05 PM, Alexandre Rafalovitch wrote: > This question makes no sense. Do you mean embedded Solr vs Standalone? > > Regards, > Alex > On 20 Feb 2015 3:30 am, "Nitin Solanki" wrote: > > > Hi, > >

Re: Collations are not working fine.

2015-02-20 Thread Nitin Solanki
01 > true > true > > > > > > > Search Suggestions (spellcheck) > explicit > json > 0 > edismax > text_all > name="fl">id,name,ticker,entityType,transactionType,accountType &

Re: Use multiple collections having different configuration

2015-02-20 Thread Nitin Solanki
Thanks Shawn.. On Fri, Feb 20, 2015 at 7:53 PM, Shawn Heisey wrote: > On 2/20/2015 4:06 AM, Nitin Solanki wrote: > > I have scenario where I want to create/use 2 collection into > > same Solr named as collection1 and collection2. I want to use distributed &g

Error instantiating class: 'org.apache.lucene.collation.CollationKeyFilterFactory'

2015-02-23 Thread Nitin Solanki
Hi, I am using Collation Key Filter. After adding it into schema.xml. *Schema.xml* * It throws errror...* Problem accessing /solr/. Reason: {msg=SolrCore 'collection1' is not availab

CollationKeyFilterFactory stops suggestions and collations

2015-02-23 Thread Nitin Solanki
Hello all, I am working on collations. Somewhere in Solr, I found that UnicodeCollation will do searching fast. But after applying CollationKeyFilterFactory in schema.xml, it stops the suggestions and collations both. Please check the configurations and help me. *Schema.xml:*

Re: CollationKeyFilterFactory stops suggestions and collations

2015-02-23 Thread Nitin Solanki
help. Please? On Mon, Feb 23, 2015 at 4:43 PM, Nitin Solanki wrote: > Hello all, > I am working on collations. Somewhere in Solr, I found that > UnicodeCollation will do searching fast. But after applying > CollationKeyFilterFactory in schema.xml, it stops the sug

Used CollationKeyFilterFactory, Seems not to be working

2015-02-23 Thread Nitin Solanki
Hi, I have integrate CollationKeyFilterFactory in schema.xml and re-index the data again. ** I need to use this becuase I want to build collations fast. Referred link: http://wiki.apache.org/solr/UnicodeCollation But it stops both suggestions and collations. *Why?* I have also test *Coll

Re: Used CollationKeyFilterFactory, Seems not to be working

2015-02-23 Thread Nitin Solanki
2015 at 9:12 PM, Ahmet Arslan wrote: > Hi Nitin, > > > How can you pass empty value to the language attribute? > Is this intentional? > > What is your intention to use that filter with suggestion functionality? > > Ahmet > > On Monday, February 23, 2015 5:03 PM, Nit

Is Solr best for "did you mean" functionality just like Google?

2015-02-23 Thread Nitin Solanki
g typed. I need to give them suggestion like "Did you mean". Is Solr best for it? Warm Regards, Nitin Solanki

Re: Collations are not working fine.

2015-02-23 Thread Nitin Solanki
> > wrote: > > > Nitin, > > > > Can you post the full spellcheck response when you query: > > > > q=gram_ci:"gone wthh thes wint"&wt=json&indent=true&shards.qt=/spell > > > > James Dyer > > Ingram Content Group > > >

How make Searching fast in spell checking

2015-02-24 Thread Nitin Solanki
Hello all, I have 49 GB of indexed data. I am doing spell checking things. I have applied ShingleFilter on both index and query part and taking 25 suggestions of each word in the query and not using collations. When I search a phrase(taken 5-6 words. Ex.- "barack obama is president of

Override "freq" field from custom field in Suggestions

2015-02-24 Thread Nitin Solanki
of "freq" in suggestion. Your help is appreciated. Thanks and Regards, Nitin Solanki.

Re: Sorting on multi-valued field

2015-02-24 Thread Nitin Solanki
Hi Peri, You cannot do sort on multi-valued field. It should be set to false. On Tue, Feb 24, 2015 at 8:07 PM, Peri Subrahmanya < peri.subrahma...@htcinc.com> wrote: > All, > > Is there a way sorting can work on a multi-valued field or does it always > have to be “false” for it to w

Do Multiprocessing on Solr to search?

2015-02-25 Thread Nitin Solanki
Hello, I want to search lakhs of queries/terms concurrently. Is there any technique to do multiprocessing on Solr? Is Solr is capable to handle this situation? I wrote a code in python that do multiprocessing and search lakhs of queries and do hit on Solr simultaneously/ parallely

Re: Collations are not working fine.

2015-02-25 Thread Nitin Solanki
default > wordbreak > 5 > 15 > true > false > true > 100 > 100% > AND > 1000 > > > *Rajesh.* > > On Fri, Feb 13, 2015 at 1:01 PM, Dyer, James > > wrote: > > > Nitin, > > > > Can you post the full spellcheck response when you

Solr takes time to start

2015-02-25 Thread Nitin Solanki
Hello, Why Solr is taking too much of time to start all nodes/ports?

Get suggestion for each term in the query

2015-02-26 Thread Nitin Solanki
Hi, I want to get suggestion of each term/word in query. Condition: i) Either word/term is correct or incorrect. ii) Either word/term has high frequency or has low frequency. Whatever the condition of term/word, I need to suggestion all time.

Confusion in making true or false in spellcheck.onlymorepopular

2015-02-26 Thread Nitin Solanki
HI, "Only return suggestions that result in more hits for the query than the existing query" What does it means "the existing query" in above sentence for "spellcheck.onlymorepopular"? what happens when I make true to "spellcheck.onlymorepopular" or false to "spellcheck.onlymorepopular"?

Why frequency of suggestion is different from indexed frequency in Solr?

2015-03-04 Thread Nitin Solanki
Hi, Frequency of suggestion is different from the original frequency which is in indexed. Why so? I have applied "StandardTokenizer with ShingleFilterFactory on field.

Frequency of Suggestion are varying from original Frequency in index

2015-03-04 Thread Nitin Solanki
Hi.. I have a term("who") where original frequency of "who" is 191 but when I get suggestion of "who" it gives me 90. Why? Example : *Original Frequency* comes like: "spellcheck":{ "suggestions":[ "who",{ "numFound":1, "startOffset":1, "endOffset":4,

Original frequency is not matching with suggestion frequency in SOLR

2015-03-04 Thread Nitin Solanki
Hello, Something suggestion frequency varies from the original frequency. Output for *"whs is"* - *(73)* which is a suggestion of *"who is"* varies than its actual original frequency *(94). * *Please* check this link for more explanation - *http://stackoverflow.com/questions/28857915/

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-08 Thread Nitin Solanki
Hi Wang, I am using SolrCloud. Is suggestion not working properly in that? On Fri, Mar 6, 2015 at 2:36 PM, gaohang wang wrote: > do you use solrcloud?maybe your suggestion is not support distribute > > 2015-03-04 22:39 GMT+08:00 Nitin Solanki : > > > Hi.. > &

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-08 Thread Nitin Solanki
Hi ale42, I am not using /solr.IndexBasedSpellChecker/. I used solr.DirectSpellChecker. Is there anyway to solve my issue? On Fri, Mar 6, 2015 at 6:27 PM, ale42 < alexandre.faye...@etu.esisar.grenoble-inp.fr> wrote: > I think these frequencies are not the frequence of the term in the

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread Nitin Solanki
I am using field as standardTokenizerFactory with ShingleFilterFactory. Is it doing so? On 3/9/15, ale42 wrote: > So, I think it's depend on the field that you are working on ?! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Frequency-of-Suggestion-are-varying-fro

Re: Frequency of Suggestion are varying from original Frequency in index

2015-03-09 Thread Nitin Solanki
Hi ale42, Yes. I am using the same field (gram_ci) to make a query and also using the same field(gram_ci) to build suggestion on it. Here is the explanation: I have a 2 fields - gram and gram_ci. where gram field sets to stored = true and index = true while gram_ci field sets to stor

Re: how to change configurations in solrcloud setup

2015-03-10 Thread Nitin Solanki
Hi Aman, You can apply configuration on solr cloud by using this command - sudo //example/scripts/cloud-scripts/zkcli.sh -zkhost localhost:9983 -cmd upconfig -confdir //example/solr/collection1/conf -confname default and then restart all nodes of solrcloud. On Mon, Mar 9, 2015 a

Where is schema.xml and solrconfig.xml in solr 5.0.0

2015-03-11 Thread Nitin Solanki
Hello, I have switched from solr 4.10.2 to solr 5.0.0. In solr 4-10.2, schema.xml and solrconfig.xml were in example/solr/conf/ folder. Where is schema.xml and solrconfig.xml in solr 5.0.0 ? and also want to know how to configure in solrcloud ?

Re: Where is schema.xml and solrconfig.xml in solr 5.0.0

2015-03-11 Thread Nitin Solanki
collections (sharing them causes issues). > > Regards, >Alex. > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 11 March 2015 at 07:50, Nitin Solanki wrote: > > Hello, > >I hav

Re: Where is schema.xml and solrconfig.xml in solr 5.0.0

2015-03-11 Thread Nitin Solanki
e.org/confluence/display/solr/Command+Line+Utilities > > Best, > Erick > > On Wed, Mar 11, 2015 at 6:01 AM, Nitin Solanki > wrote: > > Hi, alexandre.. > > > > Thanks for responding... > > When I created new collection(wikingram) using s

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-12 Thread Nitin Solanki
Hi Zheng, *** I understand that in Solr 5.0, they provide a REST API to do real-time update of the schema using Curl ** *. Would please help me how to do this? I need to update both schema.xml and solrconfig.xml in Solr 5.0 in SolrCloud. Your help is appreciated.. *Thanks Again..* On Thu, Mar

Re: Where is schema.xml and solrconfig.xml in solr 5.0.0

2015-03-12 Thread Nitin Solanki
Hi. Erick.. Would please help me distinguish between Uploading a Configuration Directory and Linking a Collection to a Configuration Set ? On Thu, Mar 12, 2015 at 2:01 AM, Nitin Solanki wrote: > Thanks a lot Erick.. It will be helpful. > > On Wed, Mar 11, 2015 at 9:27

java.nio.channels.CancelledKeyException

2015-03-12 Thread Nitin Solanki
Hi, I am indexing documents on Solr 4.10.2. While indexing, I am getting this error in log - java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73) at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77) at

Whole RAM consumed while Indexing.

2015-03-12 Thread Nitin Solanki
, Nitin Solanki

Re: Whole RAM consumed while Indexing.

2015-03-12 Thread Nitin Solanki
t; > > On 12 March 2015 at 23:19, Nitin Solanki wrote: > > Hello, > > I have written a python script to do 2 documents indexing > > each time on Solr. I have 28 GB RAM with 8 CPU. > > When I started indexing, at that time 15 GB RAM was freed. While > i

Re: Where is schema.xml and solrconfig.xml in solr 5.0.0

2015-03-12 Thread Nitin Solanki
Thanks Shawn and Erick for explanation... On Thu, Mar 12, 2015 at 9:02 PM, Shawn Heisey wrote: > On 3/12/2015 9:18 AM, Erick Erickson wrote: > > By and large, I really never use linking. But it's about associating a > > config set > > you've _already_ uploaded with a collection. > > > > So uploa

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
Hi Zheng, As you said **there's no physical schema.xml** but I have. I am using sampletechproductsconfig configuration where I have found schema.xml. In that, I am managing my schema.xml and then I upload that it into zookeeper and reload the collection. On 3/14/15, Zheng Lin Edwin

Re: Update solr schema.xml in real time for Solr 4.10.1

2015-03-14 Thread Nitin Solanki
can create your own schema.xml in your own collection, but in > order to use it, you have to change the schemaFactory class > to ClassicIndexSchemaFactory in solrconfig.xml. As by default, the > schemaFactory class is set to ManagedIndexSchemaFactory in Solr 5.0. > > Zheng Lin >

Re: Whole RAM consumed while Indexing.

2015-03-15 Thread Nitin Solanki
ning a new searcher with the > newly-indexed documents. > But that's a total shot in the dark. > > How are you looking for docs (and not finding them)? Does the numDocs > number in > the solr admin screen change? > > > Best, > Erick > > On Thu, Mar 12, 20

thresholdTokenFrequency changes suggestion frequency..

2015-03-16 Thread Nitin Solanki
Hi, I am not getting that why suggestion frequency goes varies from original frequency. Example - I have a word = *who* and its original frequency is *100* but when I find suggestion of it. It suggestion goes change to "*50*". I think it is happening because of *thresholdTokenFrequency*. Whe

maxQueryFrequency v/s thresholdTokenFrequency

2015-03-16 Thread Nitin Solanki
Hello Everyone, Please anybody can explain me what is the difference between maxQueryFrequency and thresholdTokenFrequency? Got the link - http://wiki.apache.org/solr/SpellCheckComponent#thresholdTokenFrequency but unable to understand.. I am very much confusing in both of

Want to modify Solr Source Code

2015-03-16 Thread Nitin Solanki
Hi, I want to modify the solr source code. I don't have any idea where source code is available. I want to edit source code. How can I do ? Any help please...

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
Hi Gora, Hi, I want to make changes only into my machine without svn. I want to do test on source code. How ? Any steps to do so ? Please help.. On Tue, Mar 17, 2015 at 1:01 PM, Gora Mohanty wrote: > On 17 March 2015 at 12:22, Nitin Solanki wrote: > > > > Hi, >

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
Gora Mohanty wrote: > On 17 March 2015 at 13:12, Nitin Solanki wrote: > > Hi Gora, > >Hi, I want to make changes only into my machine without > svn. > > I want to do test on source code. How ? Any steps to do so ? Please > help.. > > You could still use

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
. > > If the latter, try downloading the source code using the downloads section > in https://lucene.apache.org/solr and choose the download which ends as > -src.tgz, that has the source bundled as a single file. > On 17 Mar 2015 07:42, "Nitin Solanki" wrote: > >

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
; > All said and done, if you don't want to use svn but still want to download > the Solr source, you can download the same (for Solr 5.0.0) from any of the > mirrors listed here: > > http://www.apache.org/dyn/closer.cgi/lucene/solr/5.0.0 > > > > On Tue, Ma

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
Hi Gora, Thanks again. Do you have any link/ article of Wiki article? Please send me. On Tue, Mar 17, 2015 at 1:30 PM, Gora Mohanty wrote: > On 17 March 2015 at 13:21, Nitin Solanki wrote: > > > I have already downloaded > > http://archive.apache.org/dist/lucen

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
:38, Nitin Solanki wrote: > > Hi Gora, > > Thanks again. Do you have any link/ article of Wiki article? > > Please send me. > > Sent the link in my very first follow-up: > > http://wiki.apache.org/solr/HowToContribute#Contributing_Code_.28Features.2

Re: Want to modify Solr Source Code

2015-03-17 Thread Nitin Solanki
Hi all, How to set breakpoints throughout the Solr code, step through code ? On Tue, Mar 17, 2015 at 6:22 PM, Nitin Solanki wrote: > Hi all, >I have configured solr source code with eclipse. Now, I have > written a print statement in between the SolrSpellChecker.

Shards doesn't seems to give same suggestion of a term/ misspell term.

2015-03-17 Thread Nitin Solanki
? Please help.. Thanks again. Warm Regards, Nitin Solanki

Add replica on shards

2015-03-17 Thread Nitin Solanki
Hi, I have created 8 shards on a collection named as ***wikingram**. Now at that time, I were not created any replica. Now, I want to add a replica on each shard. How can I do? I created this - ** sudo curl http://localhost:8983/solr/admin/collections?action=ADDREPLICA&collection=wikingram

Re: Add replica on shards

2015-03-18 Thread Nitin Solanki
Any help please... On Wed, Mar 18, 2015 at 12:02 PM, Nitin Solanki wrote: > Hi, > I have created 8 shards on a collection named as ***wikingram**. > Now at that time, I were not created any replica. Now, I want to add a > replica on each shard. How can I do? > I created

Re: Whole RAM consumed while Indexing.

2015-03-18 Thread Nitin Solanki
n to get the commit > > intervals to be that short ;). > > > > I'm betting that you'll see your RAM usage go way down, but that' s a > > guess until you test. > > > > Best, > > Erick > > > > On Sun, Mar 15, 2015 at 10:56 PM, Nitin Sola

Re: Add replica on shards

2015-03-18 Thread Nitin Solanki
Thanks Norgorn. I did the same thing but in different manner.. like - localhost:8983/solr/admin/cores?action=CREATE&name=wikingram_shard4_replica3&collection=wikingram&property.shard=shard4 On Wed, Mar 18, 2015 at 7:20 PM, Norgorn wrote: > > U can do the same simply by something like that > > >

Re: Whole RAM consumed while Indexing.

2015-03-18 Thread Nitin Solanki
won't be useful at all. > > Best, > Erick > > On Wed, Mar 18, 2015 at 6:24 AM, Nitin Solanki > wrote: > > Hi, > >If I do very very fast indexing(softcommit = 300 and hardcommit = > > 3000) v/s slow indexing (softcommit = 6 and hardcommit =

Re: Whole RAM consumed while Indexing.

2015-03-18 Thread Nitin Solanki
then I got the data size of the whole index to be 5GB after completing the indexing. But the number of documents in the both scenario were same. I am wondering how that can be possible? On Wed, Mar 18, 2015 at 9:14 PM, Nitin Solanki wrote: > Hi Erick, > I am just saying. I want

Re: Whole RAM consumed while Indexing.

2015-03-19 Thread Nitin Solanki
s, >Alex. > > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 18 March 2015 at 12:09, Nitin Solanki wrote: > > When I kept my configuration to 300 for soft commit and 3000 for hard > > commit and

Re: Whole RAM consumed while Indexing.

2015-03-19 Thread Nitin Solanki
a > > completely separate server (e.g. a faster one) and swap (or alias) > > index in afterwards. Unless, of course, I missed it, it's a lot of > > emails in a very short window of time. > > > > Regards, > > Alex. > > > > > >

Re: Whole RAM consumed while Indexing.

2015-03-19 Thread Nitin Solanki
On Fri, Mar 20, 2015 at 1:35 AM, Erick Erickson wrote: > That or even hard commit to 60 seconds. It's strictly a matter of how often > you want to close old segments and open new ones. > > On Thu, Mar 19, 2015 at 3:12 AM, Nitin Solanki > wrote: > > Hi Erick.. >

Re: Whole RAM consumed while Indexing.

2015-03-19 Thread Nitin Solanki
ramBufferSizeMB, maxBufferedDocs, maxIndexingThreads? Right now, All value are set by default.. On Fri, Mar 20, 2015 at 11:42 AM, Nitin Solanki wrote: > > > On Fri, Mar 20, 2015 at 1:35 AM, Erick Erickson > wrote: > >> That or even hard commit to 60 seconds. It's strictly a mat

How to deal with different configurations on different collection?

2015-03-23 Thread Nitin Solanki
Hello, Few days before, I have created a collection (wikingram) in solr 4.10.4(Solr cloud) by applying default configuration from collection1. *sudo /mnt/nitin/Solr/solr_lm/example/scripts/cloud-scripts/zkcli.sh -zkhost localhost:9983 -cmd upconfig -confdir /mnt/nitin/Solr/solr_lm/examp

  1   2   >