Is it right to index multi-valued fields with hash value?

2014-07-30 Thread Kumaran Ramasubramanian
Hi All During search, i find it difficult to handle every multi-valued field with different analyzers. So i believe indexing multi-valued field with hash value may solve the problem of searching with different analyzers. Any of you tried hash value in lucene index? if so, please share limit

Re: Question about multi-valued fields

2014-05-21 Thread Chris Bamford
ow come span queries are heading for extinction? Thanks - Chris -Original Message- From: Allison, Timothy B. To: java-user@lucene.apache.org Sent: Tue, 20 May 2014 16:59 Subject: RE: Question about multi-valued fields Chris, Good to see you over here. There's probably an

RE: Question about multi-valued fields

2014-05-20 Thread Allison, Timothy B.
r the demise of SpanQueries... Best, Tim From: Chris Bamford [chris.bamf...@talktalk.net] Sent: Tuesday, May 20, 2014 11:13 AM To: java-user@lucene.apache.org Subject: Question about multi-valued fields Hi, Does anyone know a way of identifying which e

Question about multi-valued fields

2014-05-20 Thread Chris Bamford
Hi, Does anyone know a way of identifying which entry in a multi-value field actually matches during a search? e.g. in this example: String[] entryList = { "entry one", "entry two", "entry three", "entry four" }; Document doc = new Document(); for (String entry : Arrays.asList(entryList))

Re: best practice for reusing documents with multi-valued fields

2011-04-18 Thread Anshum
2011 at 6:32 AM, Christopher Condit wrote: > I know that it's best practice to reuse the Document object when > indexing, but I'm curious how multi-valued fields affect this. I tried > this before indexing each document: > > doc.removeFields(myMultiValuedField); >

best practice for reusing documents with multi-valued fields

2011-04-14 Thread Christopher Condit
I know that it's best practice to reuse the Document object when indexing, but I'm curious how multi-valued fields affect this. I tried this before indexing each document: doc.removeFields(myMultiValuedField); for (String fieldName: fieldNames) { Field field= doc.getField(field);

Multi valued fields

2006-11-03 Thread Seeta Somagani
index all the meta-data associated with an asset into multi-valued fields. But, I cannot see a way to rank within the multi-valued fields. Another crazy idea that crossed my mind - how about building a separate index that indexes document ids of the documents associated with an asset, so that