removing write.lock file in solr after indexing

2012-01-29 Thread Shyam Bhaskaran
Hi, We are using Solr 4.0 and after indexing every time it is observed that the write.lock remains without getting cleared and for the next indexing we have to delete the file to get the indexing process running. We use SolrServer for our indexing and I do not see any methods to close or clea

Re: language specific fields of "text"

2012-01-29 Thread Paul Libbrecht
(bing is a surprising name for a mailing list about search engine) My guess is that your document upload didn't contain the field text_en. Can it be? Paul bing a écrit : >Hi, all, > >In this thread, I would like to ask some technical questions about how >the >schema is defined to achieve lan

Re: Which patch 236 to choose for collapse - Solr 3.5

2012-01-29 Thread tamanjit.bin...@yahoo.co.in
Our application uses collapse on a major scale. If grouping is undertaken major changes would be required on application end, which I want to avoid. Here is the exception that I get without the patch: Jan 30, 2012 10:39:52 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common

Re: Permgen Space - GC

2012-01-29 Thread Sujatha Arun
Thanks Lance. I am still not clear when the classes get undeployed with 1.6 JVM and using the above start up options Does this get undeployed on JVM restart ? OR Do the classes get undeployed by Pemgen Gc? Does Pemgen Gc work for 1.6 Version? Regards Sujatha On Sun, Jan 29, 2012 at 6:08 AM,

language specific fields of "text"

2012-01-29 Thread bing
Hi, all, In this thread, I would like to ask some technical questions about how the schema is defined to achieve language specific fields "text". Say, currently I have the filed "text" defined as follows: text*" type="text_general" indexed="true" stored="true" multiValued="true"/> After index

Multilingual search in multicore solr

2012-01-29 Thread bing
Hi, all, I am going to multilingual search in multicore solr. Specifically, the design of the solr server is like: I have several cores corresponding to different languages, where each core has its configuration files and data. I have following questions: 1. While indexing a document, I use

Re: facet pivot and range

2012-01-29 Thread Antoine LE FLOC'H
Never mind, I'll just pre compute my price intervals. BTW, an intersting post on pre-computed intervals: http://lucene.472066.n3.nabble.com/How-to-Facet-on-a-price-range-tt1846392.html#a1849958 On the other hand, not sure if I can use pivots if they don't work in a distributed environment -

problem to add Solr data with Nutch

2012-01-29 Thread alessio crisantemi
Hi all, I built Nutch on Solr (versions 1.4 and 1.4.1) on Windows. I can parse and crawl a website, but when I try to indexing this data with Solr, I received an error.. this is my command: bin/nutch crawl urls -solr http://localhost:8983/solr/ -depth 3 -topN 5 and this is (the final part of) t

Re: Indexing failover and replication

2012-01-29 Thread Lance Norskog
You could just have each Solr index and query from its own index, and not copy indexes. On Wed, Jan 25, 2012 at 11:24 AM, Anderson vasconcelos wrote: > Thanks for the Reply Erick > I will make the replication to both master manually. > > Thanks > > 2012/1/25, Erick Erickson : >> No, there no good

Re: Using SOLR Autocomplete for addresses (i.e. multiple terms)

2012-01-29 Thread O. Klein
Jan Høydahl / Cominvent wrote > > Hi, > > As you see, you've got an answer at StackOverflow already with a proposed > solution to implement your own QueryConverter. > > Another way is to create a Solr core solely for Suggest, and tune it > exactly the way you like. Then you can have it suggest

Re: Suggester for Numbers

2012-01-29 Thread O. Klein
What suggester are you using? What is the config? Or check http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/ and http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ for some nice examples. -- View this message in context: h

Re: Suggester for Numbers

2012-01-29 Thread Strahinja Lazetic
Hello people! Did you manage to make suggester return suggestions for numbers? I have the same problem and could not make it with schema changes that Erick described. Thanks a lot.

search returns 'categories' instead of url

2012-01-29 Thread remi tassing
Hi, Let's say Solr is setup and can return relevant urls. What if I wanted to get the most cited terms from a predefined list, instead? It could be from a list of products, names, cities... Any ideas? Remi

Re: can solr server be pointed to lucene index?

2012-01-29 Thread Erick Erickson
Yep, this can be done. After all, Solr just uses Lucene under the covers, a Solr index *is* a lucene index. That said, you must take some care that the definitions you specify in schema.xml are close enough to how you indexed your Lucene documents to work. Indexing something in Lucene as a string

Re: Solr Cores

2012-01-29 Thread Erick Erickson
Your question can't be answered as asked, there are just too many variables. Your best bet is to test and see. Best Erick On Sun, Jan 29, 2012 at 6:37 AM, Ranveer Kumar wrote: > How much query per second a single core can handle in this case.. > > regards > > On Wed, Jan 25, 2012 at 9:49 AM, Suj

Re: Strange things happen when I query with many facet.prefixes and fq filters

2012-01-29 Thread Erick Erickson
The very first question I have is "what do your Solr logs show"? I suspect you'll see something interesting there. Otherwise, there's no way really to say what's going on here without reproducing your setup... Best Erick On Fri, Jan 27, 2012 at 6:48 PM, Yuhao wrote: > Hi, > > I'm having issues w

Re: Which patch 236 to choose for collapse - Solr 3.5

2012-01-29 Thread O. Klein
Copy paste the exception if you want help. While grouping and collapsing are not exactly the same, the same behavior can be achieved with grouping. -- View this message in context: http://lucene.472066.n3.nabble.com/Which-patch-236-to-choose-for-collapse-Solr-3-5-tp3697685p3697773.html Sent from

Re: Using SOLR Autocomplete for addresses (i.e. multiple terms)

2012-01-29 Thread Dave
Thanks Jan, this is perfect! I'm going to work on implementing it this week and let you know how it works for us. Thanks again! Dave On Wed, Jan 25, 2012 at 1:10 PM, Jan Høydahl wrote: > Hi, > > I don't think that the suggester can output multiple fields. You would > have to encode your data in

Re: Which patch 236 to choose for collapse - Solr 3.5

2012-01-29 Thread tamanjit.bin...@yahoo.co.in
Yes i thought so too, but when i tried setting up it gave me exception when it tried to read solr cores. The exception was there because of collapse. The wiki page talks only of grouping and unfortunately is mostly silent on collapsing -- View this message in context: http://lucene.472066.n3.nab

Re: Which patch 236 to choose for collapse - Solr 3.5

2012-01-29 Thread O. Klein
You don't need to patch anymore. Field collapsing (Grouping) is standard in Solr 3.3+ http://wiki.apache.org/solr/FieldCollapsing -- View this message in context: http://lucene.472066.n3.nabble.com/Which-patch-236-to-choose-for-collapse-Solr-3-5-tp3697685p3697693.html Sent from the Solr - User m

Which patch 236 to choose for collapse - Solr 3.5

2012-01-29 Thread tamanjit.bin...@yahoo.co.in
Hi, we are migrating to Solr 3.5 from 1.3 would want to know which Solr patch in the link http:// https://issues.apache.org/jira/browse/SOLR-236 should I use for collapsing. I've tried two patches 1. SOLR-236-branch_3x.patch(18/Feb/11 16:20), it did not work at all 2. field-collapse-5.patch - i g

Re: can solr server be pointed to lucene index?

2012-01-29 Thread Sean Adams-Hiett
Yes, it is possible. I have gotten it working very recently. One issue that gave me fits was that the version of Solr I was using was 1.4 and the version of Lucene I was using was 3.3, so I couldn't get the core to start when Solr started. So make sure your versions match or are compatible. Once

Re: Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread SR
I'm not thinking of translating. I'm thinking of writing one from scratch. It will be a book for search in general, and a concrete application with Solr. If you're interested in joining, send me your resume. Thanks, -SR On Jan 29, 2012, at 10:42 AM, remi tassing wrote: > I haven't seen any. >

Re: Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread remi tassing
I haven't seen any. Have you thought of translating one? Remi On Sunday, January 29, 2012, SR wrote: > My main question is whether there's already a French book or not. > > > On Jan 29, 2012, at 10:01 AM, Abhishek Tyagi wrote: > >> If you are thinking then do it, why do want people to tell you

Re: Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread Paul Libbrecht
Steve, I am a french speaker myself but have never seen such a thing. Not that I would have looked for it though (being a greedy lucene user since long). A web-search should tell you. And... a search by classical publishers. paul Le 29 janv. 2012 à 16:31, SR a écrit : > My main question is w

Re: Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread SR
My main question is whether there's already a French book or not. On Jan 29, 2012, at 10:01 AM, Abhishek Tyagi wrote: > If you are thinking then do it, why do want people to tell you what you > should do. > > bestaluck! > > On Sun, Jan 29, 2012 at 8:20 PM, SR wrote: > >> Hi there, >> >> Hav

Re: Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread Abhishek Tyagi
If you are thinking then do it, why do want people to tell you what you should do. bestaluck! On Sun, Jan 29, 2012 at 8:20 PM, SR wrote: > Hi there, > > Have you heard of any existing Solr book in French? If no, I'm thinking of > writing one. Do you think this could be useful for francophone co

Writing a french Solr book - Ecrire un livre en français

2012-01-29 Thread SR
Hi there, Have you heard of any existing Solr book in French? If no, I'm thinking of writing one. Do you think this could be useful for francophone community? Thanks -SR

Re: Solr Cores

2012-01-29 Thread Ranveer Kumar
How much query per second a single core can handle in this case.. regards On Wed, Jan 25, 2012 at 9:49 AM, Sujatha Arun wrote: > Thanks Erick. > > Regards > Sujatha > > On Mon, Jan 23, 2012 at 11:16 PM, Erick Erickson >wrote: > > > You can have a large number of cores, so people have multiple

Re: How to Sort By a PageRank-Like Complicated Strategy?

2012-01-29 Thread Ahmet Arslan
> As I learned, big data, such as Lucene index, was not > suitable to be > updated frequently. Some people use ExternalFileField for PageRank-like fields. http://lucidworks.lucidimagination.com/display/solr/Solr+Field+Types#SolrFieldTypes-WorkingwithExternalFiles Lucene supports parent/child do

can solr server be pointed to lucene index?

2012-01-29 Thread T Vinod Gupta
hi, i am really new to solr/lucene and doing some experiments.. i have a question - if i create an index using lucene, can i use solr to query against that index? if yes, how do i setup solr? i already have a lucene index. i just copied over the index dir as /examples/solr/data. But that is not ma