Re: Adding a prefix to fields

2009-08-20 Thread Andrew Clegg
rtain field? > I have exactly this situation and I just handle it by adding the prefixes in the SQL query. select 'Article_' || id as id from articles etc. I wrap all these up as views and store them in the DB, so Solr just has to select * from each view. Andrew. -- View this mes

Re: Adding a prefix to fields

2009-08-20 Thread Shalin Shekhar Mangar
On Thu, Aug 20, 2009 at 7:07 PM, ahammad wrote: > > Hello, > > Is it possible to add a prefix to the data in a Solr field? For example, > right now, I have a field called "id" that gets data from a DB through the > DataImportHandler. The DB returns a 4-character string like "ag5f". Would > it > b

Adding a prefix to fields

2009-08-20 Thread ahammad
iting a transformer. I already have 4 transformers handling a multitude of other things, and I would prefer an alternative... Thanks -- View this message in context: http://www.nabble.com/Adding-a-prefix-to-fields-tp25062226p25062226.html Sent from the Solr - User mailing list archive at Nabble.com.