Re: Modelling Access Control

2010-10-24 Thread Peter Sturge
Hi, See SOLR-1872 for a way of providing access control, whilst placing the ACL configuration itself outside of Solr, which is generally a good idea. http://www.lucidimagination.com/search/out?u=http://issues.apache.org/jira/browse/SOLR-1872 There are a number of ways to approach Access Contr

Re: Step by step tutorial for multi-language indexing and search

2010-10-24 Thread Jakub Godawa
Hi Erick, thanks for your help! I need some technical help though... let me put it that way: 1. I deleted everything in index with: curl http://localhost:8983/solr/update -F stream.body=' *:*' curl http://localhost:8983/solr/update -F stream.body=' ' 2. I created 2 documents with fields: name_en

Re: How to index long words with StandardTokenizerFactory?

2010-10-24 Thread Sergey Bartunov
I did it just as you recommended. Solr indexes files around 15kb, but no more. The same effect was with patched constants On 24 October 2010 01:29, Ahmet Arslan wrote: > Ops I am sorry, I thought that solr/lib refers to solrhome/lib. > > I just tested this and it seems that you have successfully

Re: How to index long words with StandardTokenizerFactory?

2010-10-24 Thread Yonik Seeley
On Sun, Oct 24, 2010 at 10:47 AM, Sergey Bartunov wrote: > I did it just as you recommended. Solr indexes files around 15kb, but > no more. The same effect was with patched constants Lucene also has max token sizes it can index. IIRC, lengths used to be stored inline with the char data, and a sin

Re: How to index long words with StandardTokenizerFactory?

2010-10-24 Thread Sergey Bartunov
It's a kind of research. There is no particular practical use case as far as I know. Do you know how to set all these max token lengths? On 24 October 2010 19:19, Yonik Seeley wrote: > On Sun, Oct 24, 2010 at 10:47 AM, Sergey Bartunov wrote: >> I did it just as you recommended. Solr indexes file

Re: How to index long words with StandardTokenizerFactory?

2010-10-24 Thread Yonik Seeley
On Sun, Oct 24, 2010 at 11:29 AM, Sergey Bartunov wrote: > It's a kind of research. There is no particular practical use case as > far as I know. > Do you know how to set all these max token lengths? It's a practical limit given how things are coded, not an arbitrary one. Given the lack of use c

Integrating Carrot2/Solr Deafult Example

2010-10-24 Thread Eric Martin
Hello, Welcome to all. I am a very basic user. I have limited knowledge. I read the documentation, I have an 'example' Solr installation working on my server. I have Drupal 6. I have Drupal using Solr (apachesolr) as its default search engine. I have 1 document in the database that is searchabl

Re: problem on running fullimport

2010-10-24 Thread Alexey Serba
" Caused by: java.sql.SQLException: Illegal value for setFetchSize(). " Try to add batchSize="-1" to your data source declaration http://wiki.apache.org/solr/DataImportHandlerFaq#I.27m_using_DataImportHandler_with_a_MySQL_database._My_table_is_huge_and_DataImportHandler_is_going_out_of_memory._Wh

How to index on basis of a condition?

2010-10-24 Thread Pawan Darira
Hi I want to index a particular field on one if() condition. Can i do it through DIH? Please suggest. -- Thanks, Pawan Darira

ClassCastException Issue

2010-10-24 Thread Alex Matviychuk
Getting this when deploying to tomcat: [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():394 Reading Solr Schema [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():408 Schema name=tsadmin [ERROR][http-4443-exec-3][util.plugin.AbstractPluginLoader] log():139 java.lang.Class