New user: version conflict for ....

2012-12-26 Thread Jack Park
I am running against a networked Solr4 installation -- but not using any of the cloud apparatus. I wish to update a document (Node) with new information. I send back as a partial update using SolrJ's add() command document id the new or updated field version number precisely as it was fetched What

Re: Spatial filter in solr 4.0 - "Intersects" operation with parameters

2012-12-26 Thread David Smiley (@MITRE.org)
It's unusual to have Solr be the first point of entry into a service. Usually it's fronted with a web application that has the business logic that knows how to map the request to the search back-end. Given your further questions, almost anything could work without much trouble: * A standard servl

Re: Converting fq params to Filter object

2012-12-26 Thread Lance Norskog
A Solr facet query does a boolean query, caches the Lucene facet data structure, and uses it as a Lucene filter. After that until you do a full commit, using the same fq=string (you must match the string exactly) fetches the cached data structure and uses it again as a Lucene filter. Have you

Re: [ANNOUNCE] Apache Solr 3.6.2 released

2012-12-26 Thread Lance Norskog
Cool! On 12/25/2012 08:03 AM, Robert Muir wrote: 25 December 2012, Apache Solr™ 3.6.2 available The Lucene PMC and Santa Claus are pleased to announce the release of Apache Solr 3.6.2. Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its

Re: [DIH] Script Transformer: Is there a way to import js file?

2012-12-26 Thread Lance Norskog
Maybe you could write a Javascript snippet that downloads and runs your external file? On 12/26/2012 09:12 AM, Dyer, James wrote: I'm not very familiar with using scipting langauges with Java, but having seen the DIH code for this, my guess is that all script code needs to be in the section o

Re: Question on WordDelimiterFilterFactory use

2012-12-26 Thread Anirudha Jadhav
try this to see the results yourself http://lucidworks.lucidimagination.com/display/solr/Running+Your+Analyzer On Wed, Dec 26, 2012 at 3:36 PM, Dmitry Kan wrote: > Hi, > > Have you tried looking at admin analysis page? You can see how i-pod gets > indexed and highlight query results there too.

Re: Converting fq params to Filter object

2012-12-26 Thread Nalini Kartha
Hi Otis, Sorry, let me be more specific. The end goal is for the DirectSpellChecker to make sure that the corrections it is returning will return some results taking into account the fq params included in the original query. This is a follow up question to another question I had posted earlier -

Re: Updating configuration files when using Solr Cloud

2012-12-26 Thread davers
It looks like any changes to configuration files need to be partnered with a rolling restart of the cloud: http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensemble ZooKeeper Multiple Zookeeper servers running together for fault tolerance and h

Re: Data from deleted from Solr (Solr cloud)

2012-12-26 Thread shreejay
Thanks Mark. Unfortunately I only took log file backup of the Solr instance which failed. Even if we stopped and started all instances in a shard at same time, isn't there a possibility that the Solr Instance with less data (or no data) might declare itself leader and the one with the data will s

Re: Question on WordDelimiterFilterFactory use

2012-12-26 Thread Dmitry Kan
Hi, Have you tried looking at admin analysis page? You can see how i-pod gets indexed and highlight query results there too. Best, Dmitry Kan On Wed, Dec 26, 2012 at 10:08 AM, Jose Yadao wrote: > Hi and Happy Holidays to everyone. > > I have a question regarding the use of WordDelimiterFilter

Re: Converting fq params to Filter object

2012-12-26 Thread Otis Gospodnetic
Hi, The fq *is* for filtering. What is your end goal, what are you trying to achieve? Otis Solr & ElasticSearch Support http://sematext.com/ On Dec 26, 2012 11:22 AM, "Nalini Kartha" wrote: > Hi, > > I'm trying to figure out how to convert the fq params that are being passed > to Solr into som

Re: Spatial filter in solr 4.0 - "Intersects" operation with parameters

2012-12-26 Thread mladen micevic
Thank you David for your quick response. I was thinking yesterday about my problem. Caller should not be aware of internals of my Solr configuration (filed name, operation). Caller can describe search area with center point and radius and I need to translate input parameters into Solr query. Now,

Re: facet query

2012-12-26 Thread Billy Newman
Again I am interested in hierarchical faceting as explained here: http://wiki.apache.org/solr/HierarchicalFaceting Again looking for anyone that has experience with PathHierarchyTokenizerFactory and Pivot Faceting to help me choose the 'best' solution. PathHierarchyTokenizerFactory seems to be ea

RE: [DIH] Script Transformer: Is there a way to import js file?

2012-12-26 Thread Dyer, James
I'm not very familiar with using scipting langauges with Java, but having seen the DIH code for this, my guess is that all script code needs to be in the section of data-config.xml. So I don't think what you want is possible. This seems like the kind of thing that would be useful if it could

[DIH] Script Transformer: Is there a way to import js file?

2012-12-26 Thread zakaria benzidalmal
Hi all, I am importing some data using DIH, I'd like to use script transformer in order to perform some transformations before indexing. As the transformations are a bit complex I am using an external js library. My question is: Is there a way to import the js library file to my DIH script? like

RE: SolrCloud breaks distributed query strings

2012-12-26 Thread Markus Jelsma
FYI: also noticed the same incorrect facet behaviour in a much older trunk check out, around august 2012. -Original message- > From:Markus Jelsma > Sent: Mon 17-Dec-2012 10:49 > To: solr-user@lucene.apache.org > Subject: RE: SolrCloud breaks distributed query strings > > Anyone else

Re: Reindex ALL Solr CORES in one GO..

2012-12-26 Thread Gora Mohanty
On 26 December 2012 18:06, Anupam Bhattacharya wrote: > Hello Everyone, > > Is it possible to schedule full reindexing of all solr cores without going > to individually to the DIH screen of each core ? One could quite easily write a wrapper around Solr's URLs for indexing. You could use a tool li

Re: Solr Indexing with huge number of documents

2012-12-26 Thread Gora Mohanty
On 26 December 2012 15:00, bsargurunathan wrote: > Hi Everyone, > > In Solr Indexing, I needs to index millions of millions records in single > time from xml file. > While I am doing the indexing, I am constructing the xml file and passing to > the solr. > But right now I am controlling the record

RE: MoreLikeThis supporting multiple document IDs as input?

2012-12-26 Thread David Parks
Someone else suggested this query: q=id:[1001 OR 1002], where the numbers represent multiple IDs, but if I get it, you're saying that these ultimate get turned into just one document and we get similar documents to just that one. MoreLikeThese sounds promising. Is this in one of the de

RE: Invalid version (expected 2, but 60) or the data in not in 'javabin'

2012-12-26 Thread Shahar Davidson
Thanks for the prompt reply Mark. Just to give you some background, I'm simulating a multi-shard environment by running more than 200 Solr Cores on a single machine (machine does not seem to be stressed) and I'm running a distributed facet. The Solr server is running trunk 1404975 with SOLR-2894

Solr Indexing with huge number of documents

2012-12-26 Thread bsargurunathan
Hi Everyone, In Solr Indexing, I needs to index millions of millions records in single time from xml file. While I am doing the indexing, I am constructing the xml file and passing to the solr. But right now I am controlling the record count and based on the record count the xml will create and it

Re: MoreLikeThis supporting multiple document IDs as input?

2012-12-26 Thread Roman Chyla
Jay Luker has written MoreLikeThese which is probably what you want. You may give it a try, though I am not sure if it works with Solr4.0 at this point (we didn't port it yet) https://github.com/romanchyla/montysolr/blob/MLT/contrib/adsabs/src/java/org/apache/solr/handler/MoreLikeTheseHandler.java