Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-24 Thread bbarani
Thanks a lot for all your replies. I finally wrote a program which will fetch and store all the UID from source (DB) in one list and fetch and store all the UID from SOLR document in another list. Next using the binarySearch method of collection I was able to filter out the list of UID's that

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

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=' deletequery*:*/query/delete' curl http://localhost:8983/solr/update -F stream.body=' commit /' 2. I created

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 iori...@yahoo.com wrote: Ops I am sorry, I thought that solr/lib refers to solrhome/lib. I just tested this and it seems that you

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 sbos@gmail.com 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

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 yo...@lucidimagination.com wrote: On Sun, Oct 24, 2010 at 10:47 AM, Sergey Bartunov sbos@gmail.com wrote: I did it

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 sbos@gmail.com 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

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

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