Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi Shekhar, Yes, I did specify transformer="DateFormatTransformer" in and I did re-index :-(. Bit strange output. Even I tried to change the Data type of the data field in schema.xml as well. I have tried with changing date type from String to Date and Date to String by applying DateFormatTransf

Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread Shalin Shekhar Mangar
On Mon, Dec 16, 2013 at 12:38 PM, manju16832003 wrote: > Hi Shekhar, > Thanks for replying :-). > Yes your answer is justifiable. > DateFormatTransformer was a good consideration. However it doesn't out the > format I expected. Rather it outputs in the following manner > > Tue Jun 05 00:00:00 MYT

Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi Shekhar, Thanks for replying :-). Yes your answer is justifiable. DateFormatTransformer was a good consideration. However it doesn't out the format I expected. Rather it outputs in the following manner Tue Jun 05 00:00:00 MYT 2012 Here is DIH configuration And also I tried this way *-- with

index html files as text file

2013-12-15 Thread Jiyas Basha H
Hi Team, I am new to solr. I am trying to index html file as text file. http://localhost:9050/solr-4.5.1/testSolr/update/extract?stream.file=C:\Basha/47363.txt&commit=true&literal.id=$i Using above query i indexed successfully. when i used http://localhost:9050/solr-4.5.1/testSolr/select?q

Re: Custom update handler with deduplication

2013-12-15 Thread Shalin Shekhar Mangar
Firstly, I see that you have overwriteDupes=false in your configuration. This means that a signature will be generated but the similar documents will still be added to the index. Now to your main question about counting duplicate attempts, one simple way is to have another UpdateRequestProcessor af

Re: Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread Shalin Shekhar Mangar
This is not a Solr specific problem. The java.sql.Timestamp class which is what you get for a DateTime field contains a nano-second component. This shows up as a .0 when you do a toString() conversion. If you want to show this values to your client in a diffferent or mysql-specific format, you can

Storing MYSQL DATETIME field in solr as String

2013-12-15 Thread manju16832003
Hi All, In database, MYSQL DateTime format is 2013-10-17 15:32:48 [-MM-dd hh:mm:ss] however, when I store this DateTime field in solr as String, it would look something like this 2013-10-17 15:32:48*.0*. Why the 0 is appended at the end of the DateTime? For the same date field, I do have anot

Custom update handler with deduplication

2013-12-15 Thread Jorge Luis Betancourt González
Currently I've the following Update Request Processor chain to prevent indexing very similar text items into a core dedicated to store queries that our users put into the web interface of our system. true false signature textsuggest,textng org.apache.solr.upd

Re: installing a 3rd party index

2013-12-15 Thread Christian Bongiorno
I have the code that originally made this index. I know all those details. I have a schema with matching field names to what's in the code and I get nothing. What should I be looking for from the original code that just makes this work? And yes, it did scream "mismatched schema" to me; it was the

Re: installing a 3rd party index

2013-12-15 Thread Christian Bongiorno
I will give this a try. Thanks. On Fri, Dec 13, 2013 at 1:15 PM, Greg Walters wrote: > Christian, > > I literally did this 10 minutes ago for an internal example. You need to > issue a RELOAD for your index to open a new searcher using the updated > files. Here's an example showing how I did it:

[Announce] Apache Solr 4.6 with RankingAlgorithm 1.5.2 available now with complex-lsa algorithm (simulates human language acquisition and recognition)

2013-12-15 Thread ntangleWildlife
Hi! I am very excited to announce the availability of Solr 4.6 with RankingAlgorithm 1.5.2. Solr 4.6 with RankingAlgorithm 1.5.2 includes the new algorithm complex-lsa. complex-lsa simulates human language acquisition and recognition (see demo )

How can you move a shard from one SolrCloud node to another?

2013-12-15 Thread cwhi
Let's say I want to rebalance a SolrCloud collection. I call SPLITSHARD to split an existing shard, and then I'd like to move one of the subshards to a new machine so the index is more balanced. Can this be done? If not, how do you rebalance an existing SolrCloud collection? -- View this mess

Re: faceted search field sorting

2013-12-15 Thread Yonik Seeley
If you don't want the facets sorted by decreasing count (the default), you can specify facet.sort=index to get "index order" ((lexicographic by indexed term) -Yonik http://heliosearch.com -- making solr shine On Sun, Dec 15, 2013 at 2:08 PM, MC wrote: > Hello, > Here is a public API that uses f

faceted search field sorting

2013-12-15 Thread MC
Hello, Here is a public API that uses facet fields: http://golr.berkeleybop.org/select?qt=standard&fl=*&version=2.2&wt=json&indent=on&rows=0&facet=true&facet.field=type&q=document_category:%22annotation%22 It looks like the default behavior is to sort facet_counts.facet_fields (field called 'typ

Re: Indexing RestFul Json Service

2013-12-15 Thread Alfredo Serafini
Hi Pritesh other two options for indexing generic json could be at the moment: 1) implement a specific json datasource for Data import handler (this should not be so complex, and it will be useful for others) 2) use httpsource, then a line entityprocessor to acquire the full json text (if you don'

[Announce] Apache Solr 4.6 with RankingAlgorithm 1.5.2 available now with complex-lsa algorithm (simulates human language acquisition and recognition)

2013-12-15 Thread Nagendra Nagarajayya
Hi! I am very excited to announce the availability of Solr 4.6 with RankingAlgorithm 1.5.2. Solr 4.6 with RankingAlgorithm 1.5.2 includes the new algorithm complex-lsa. complex-lsa simulates human language acquisition and recognition (see demo )