Item Search Database

2007-03-28 Thread Maarten . De . Vilder
hi, i have a performance question... we need to implement a feature called 'Item Search Database', which basically means we have to limit the documents a user can search ... example : Item1 is in database1 item2 is in database2 item3 is in database1 and database2 and the client can only see the

Auto index update

2007-03-28 Thread netaji . k
Hello, Can anybody suggest me of what is the best method to implement auto index update on SOLR from mysql database. thanks and regards aditya

Fw: Download solr-tools rpm

2007-03-28 Thread Suresh Kannan
Hi, I need to configure master / slave servers. Hence i check at wiki help documents. I found that i need to install solr-tools rpm. But i could not able to download the files. Please some help me with solr-tools rpm. Suresh Kannan

failing post-optimize command execution

2007-03-28 Thread galo
Hi, I've configured my solrconfig.xml to execute a snapshoot after an optimize is made but I keep getting the following exception in the tomcat logs: SEVERE: java.io.IOException: Cannot run program "snapshooter" (in directory "/home/solr/solr/bin"): java.io.IOException: error=2, No such fil

Re: failing post-optimize command execution

2007-03-28 Thread Traut
What about access rights on file snapshooter and on directories in path /home/solr/solr/bin ? Maybe this is the root of the problem? On 3/28/07, galo <[EMAIL PROTECTED]> wrote: Hi, I've configured my solrconfig.xml to execute a snapshoot after an optimize is made but I keep getting the followi

Solr finding doc by one field but not by another

2007-03-28 Thread Theodan
Hi everyone. Can anyone explain how this might happen? I query by the "ID" field and get the following result: = 0 16 ID:ee483237-399c-4b17-ad73-000cc54

Re: Solr finding doc by one field but not by another

2007-03-28 Thread Mike Klaas
On 3/28/07, Theodan <[EMAIL PROTECTED]> wrote: For what it's worth, I started with an existing Lucene index and modified Solr's schema.xml so that I could just use the Lucene index in Solr. That Lucene index had about 230K docs. I then used your "post.jar" to post another 10K docs to the index

Re: Document boost not as expected...

2007-03-28 Thread escher2k
Chris, Earlier I was trying to modify the Similarity computation to make it field dependent (we are trying to change tf based on the field). Now, I have reverted the custom computation so that the default Similarity is used. Fro testing, I boosted a single field in one doc. Y ... This is w

Re: Document boost not as expected...

2007-03-28 Thread Mike Klaas
On 3/28/07, escher2k <[EMAIL PROTECTED]> wrote: Again, I fail to understand where it is doing a multiplication by 1.25 (score (2.5) = field_boost (2.0) * 1.25 ??). As I said above, lengthNorm is also multiplied in. This will depend on your custom similar what value(s) you have in the field.

Controlling read/write access for replicated indexes

2007-03-28 Thread Jeff Rodenburg
I'm curious what mechanisms everyone is using to control read/write access for distributed replicated indexes. We're moving to a replication environment very soon, and our client applications (quite a few) all have configuration pointers to the URLs for solr instances. As a precaution, I don't w

Re: Document boost not as expected...

2007-03-28 Thread escher2k
Mike, I am not doing anything custom for this test. I am assuming that the Default Similarity is used. Surprisingly, if I remove the document level boost (set to 1.0) and just have a field level boost, the result seems to be correct. Mike Klaas wrote: > > On 3/28/07, escher2k <[EMAIL PROTECT

Best approach for indexing and querying against a multivalue name field like directors or actors?

2007-03-28 Thread Daniel Einspanjer
I'm rather new to Solr and somewhat rusty on what little I learned on Lucene a few years back. I've got some documents I want to index that have multiple name fields such as directors or actors. I'm wanting to index them such that querying for "Jane Doe" would have a higher score for "Jane M. Doe

Re: Best approach for indexing and querying against a multivalue name field like directors or actors?

2007-03-28 Thread Daniel Einspanjer
I'm sorry, I said something confusing there. Let me try that last case again. If you have three documents with a multivalue field named director (represented here by ; separator) 1. "Jane M. Doe" 2. "Jane Smith"; "John Doe" 3. "John Doe" And the user searched for director:"Jane Doe", I would ide

Re: Document boost not as expected...

2007-03-28 Thread Mike Klaas
On 3/28/07, escher2k <[EMAIL PROTECTED]> wrote: Mike, I am not doing anything custom for this test. I am assuming that the Default Similarity is used. Surprisingly, if I remove the document level boost (set to 1.0) and just have a field level boost, the result seems to be correct. Another d

Re: Fw: Download solr-tools rpm

2007-03-28 Thread Chris Hostetter
: I need to configure master / slave servers. Hence i check at wiki help : documents. I found that i need to install solr-tools rpm. But i could : not able to download the files. Please some help me with solr-tools rpm. Any refrences to a "solr-tools rpm" on the wiki are outdated and leftover fro

Re: Best approach for indexing and querying against a multivalue name field like directors or actors?

2007-03-28 Thread Chris Hostetter
you'll want to look into the positionIncrementGap attribute that can be specified when defining an Analyzer for your field type ... it defines the "logical" gap between tokens in a multi-value field, so if you use a whitespace tokenizer add the names "Jane Smith" and "John Doe" you'll get the toke

Re: maximum index size

2007-03-28 Thread Otis Gospodnetic
Hi Mike, I'm curious about what you said there: "People have constructed (lucene) indices with over a billion documents.". Are you referring to somebody specific? I've never heard of anyone creating a single Lucene index that large, but I'd love to know who did that. Thanks, Otis . . . . .

Snippets of indexed text

2007-03-28 Thread Pierre-Yves LANDRON
Hello everybody ! I wondering if there a way to get some relevant snippets (searched terms contextualized) of indexed text with a solr response to a query, instead of just the entire indexed field ? ( more widely, what are the possibilities to let solr formate the answer (highlight terms, etc.

Re: Snippets of indexed text

2007-03-28 Thread Thierry Collogne
It is possible. You need to pass highlighting parameters. Look here : http://wiki.apache.org/solr/HighlightingParameters Hope this helps. On 29/03/07, Pierre-Yves LANDRON <[EMAIL PROTECTED]> wrote: Hello everybody ! I wondering if there a way to get some relevant snippets (searched term

index problem

2007-03-28 Thread James liu
i use freebsd6, tomcat 6(without install)+jdk1.5_07+php5+mssql i debug my program and data is ok before update to do index and index process is ok. no error. but i find index file not what i wanna. it have changed. tomcat6's server.xml,,i added "URIEncoding="UTF-8" data send to solr do i