Atomic updates behavior

2012-08-04 Thread as4j1th .
Hi, We've been evaluating the atomic update feature in Solr4.0. It would be great if anyone can shed some light on the following. #) There seems to be more than one way to pass data to UpdateJSON for add/update. What would be the recommended way. https://gist.github.com/3256587 OR

Re: Atomic updates behavior

2012-08-04 Thread as4j1th .
Hi, We've been evaluating the atomic update feature in Solr4.0. It would be great if anyone can shed some light on the following. #) There seems to be more than one way to pass data to UpdateJSON for add/update. What would be the recommended way. https://gist.github.com/3256587 OR

Re: AW: AW: auto completion search with solr using NGrams in SOLR

2012-08-04 Thread Ahmet Arslan
--- On Sat, 8/4/12, aniljayanti anil.jaya...@gmail.com wrote: From: aniljayanti anil.jaya...@gmail.com Subject: Re: AW: AW: auto completion search with solr using NGrams in SOLR To: solr-user@lucene.apache.org Date: Saturday, August 4, 2012, 8:57 AM Hi thanks, which doing searching i

Re: auto completion search with solr using NGrams in SOLR

2012-08-04 Thread Jan Høydahl
Have a look at my blog post http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/ for a walkthrough of how it could be done, as a separate Solr core. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 1. aug.

Re: Adding new field before import- using post.jar

2012-08-04 Thread Rajani Maski
Thank you for the reply. 8.How about Extending class : XmlUpdateRequestHandler? Is it possible and good method? Regards Rajani On Fri, Aug 3, 2012 at 8:32 PM, Erik Hatcher erik.hatc...@gmail.com wrote: I hate to also add: 6. Use DataImportHandler It can index Solr XML, and could

Re: Adding new field before import- using post.jar

2012-08-04 Thread Jack Krupansky
Where are the values of the three new fields coming from? Are they constant/default values? Computed from other fields in the XML? From other XML files? From a text file? From a database? Or where? So, given a specific Solr XML input document, how will you be accessing the three field values

Re: Sorting fields of text_general fieldType

2012-08-04 Thread Erick Erickson
Did you re-index everything after the change you made? Your old docs will be sorted by null values in the title_sort field, so they'd all come out first or last depending, then sub-sorted by internal Lucene doc ID. If you have, can you just create an index with, say, 6 titles that sorts

Re: Special suggestions requirement

2012-08-04 Thread Erick Erickson
Would it work to use TermsComponent with wildcards? Something like terms.regex=ABCD42??... see: http://wiki.apache.org/solr/TermsComponent/ Best Erick On Fri, Aug 3, 2012 at 9:07 AM, Michael Della Bitta michael.della.bi...@appinions.com wrote: I could be crazy, but it sounds to me like you

Re: Tuning caching of geofilt queries

2012-08-04 Thread Erick Erickson
I don't think rounding will affect cache hits in either case _unless_ the input point for different queries can be very close to each other. Think of the filter cache as being composed of a map where the key is the (raw) filter query and the value is the set of documents in your corpus that

Re: search hit on multivalued fields

2012-08-04 Thread Erick Erickson
What about just using highlighting and display both fields? Best Erick On Fri, Aug 3, 2012 at 5:51 AM, Mark , N nipen.m...@gmail.com wrote: I have a multivalued field Tex which is indexed , for example : F1: some value F2: some value Text = ( content of f1,f2) When user search , I am

Re: Adding new field before import- using post.jar

2012-08-04 Thread Rajani Maski
They are coming from text file. SolrXML input documents are xmls in folder location. (To import these xmls, I was using simple post.jar) Now, for each xml there is need to add 3 external new fields reading values from text file. Regards Rajani On Sat, Aug 4, 2012 at 10:59 PM, Jack Krupansky

Re: Adding new field before import- using post.jar

2012-08-04 Thread Jack Krupansky
Sounds like a perl script would be sufficient. -- Jack Krupansky -Original Message- From: Rajani Maski Sent: Saturday, August 04, 2012 2:23 PM To: solr-user@lucene.apache.org Subject: Re: Adding new field before import- using post.jar They are coming from text file. SolrXML input

Re: Adding new field before import- using post.jar

2012-08-04 Thread Lance Norskog
For a permanent solution, DataImportHandler and the scripting update handler are the best choices- they are small files and live inside Solr. On Sat, Aug 4, 2012 at 12:02 PM, Jack Krupansky j...@basetechnology.com wrote: Sounds like a perl script would be sufficient. -- Jack Krupansky

Re: termFrequncy off and still use fastvector highlighter?

2012-08-04 Thread abhayd
yes u r correct. But problem is u can not just turnOff term frequency. You have to turn off termpositions with it. And once i do that phrase searches dont work. I want termPositions=false termPositions=true How would i do that? -- View this message in context: