CDATA For All Fields?

2010-04-28 Thread Thomas Nguyen
Is there anything wrong with wrapping the text content of all fields with CDATA whether they be analyzed, not analyzed, indexed, not indexed and etc.? I have a script that creates update XML documents and it's just simple to wrap all text content in all fields with CDATA. From my brief tests it d

Dismax type solution using a default operator

2010-04-11 Thread Thomas Nguyen
Has anyone implemented a Dismax type solution that also uses a default operator (or q.op)? I'd like to be able to use OR operators for all the qf fields but have read that qf=dismax does not support operators.

RE: Can Solr Create New Indexes?

2010-03-03 Thread Thomas Nguyen
Create New Indexes? I'm guessing the index folder itself already exists? The data dir can be there, but the index dir itself must not be - that's how it knows to create a new one. Otherwise it thinks the empty dir is the index and cant find the files it expects. On 03/03/2010 08:15 PM,

RE: Can Solr Create New Indexes?

2010-03-03 Thread Thomas Nguyen
esday, March 03, 2010 5:00 PM To: solr-user@lucene.apache.org Subject: Re: Can Solr Create New Indexes? On 03/03/2010 07:56 PM, Thomas Nguyen wrote: > Is there a setting in the config I can set to have Solr create a new > Lucene index if the dataDir is empty on startup? I'd like to open

Can Solr Create New Indexes?

2010-03-03 Thread Thomas Nguyen
Is there a setting in the config I can set to have Solr create a new Lucene index if the dataDir is empty on startup? I'd like to open our Solr system to allow other developers here to add new cores without having to use the Lucene API directly to create the indexes.

RE: Unindexed Fields Are Searchable?

2010-03-02 Thread Thomas Nguyen
Great catch! Thanks for spotting my error :) -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, March 02, 2010 2:07 PM To: solr-user@lucene.apache.org Subject: Re: Unindexed Fields Are Searchable? > Again, note that it should be > index_ed_="false".  "ed" -

RE: Unindexed Fields Are Searchable?

2010-03-02 Thread Thomas Nguyen
For testing purposes. I just wanted to see if unindex fields in documents added by Lucene API were searchable by Solr. This is after discovering that the unindexed fields in documents added by Solr are searchable. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent:

RE: Unindexed Fields Are Searchable?

2010-03-02 Thread Thomas Nguyen
My schema has always had index="false" for that field. I only stopped and restarted the servlet container when I added a document to the index using the Lucene API instead of Solr. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, March 02, 2010 1:01 PM To

Unindexed Fields Are Searchable?

2010-03-02 Thread Thomas Nguyen
I've noticed that fields that I define as index="false" in the schema.xml are still searchable. Here's the definition of the field: or I can then add a new document with the field object_id=26 and have the document returned when searching for "+object_Id=26". On the other hand if I ad

Configuring Solr to use RAMDirectory

2009-11-11 Thread Thomas Nguyen
Is it possible to configure Solr to fully load indexes in memory? I wasn't able to find any documentation about this on either their site or in the Solr 1.4 Enterprise Search Server book.

Response XML Deserializing

2009-10-27 Thread Thomas Nguyen
Hello, Is there a solution packaged in SOLR that deserializes XML response documents into Lucene documents?