How to integrate sen and lucene-ja in SOLR 3.x

2012-05-01 Thread Shanmugavel SRD
Hi, Can anyone help me on how to integrate sen and lucene-ja.jar in SOLR 3.4 or 3.5 or 3.6 version? Thanks, Shanmugavel -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-integrate-sen-and-lucene-ja-in-SOLR-3-x-tp3953266.html Sent from the Solr - User mailing list

Re: Search for empty string in 1.4.1 vs 3.4

2011-09-28 Thread Shanmugavel SRD
Thank you for the reply Chris. Please find the sample query which is returning results even though id is not having any value as in SOLR 1.4.1

Search for empty string in 1.4.1 vs 3.4

2011-09-22 Thread Shanmugavel SRD
Hi, I am using SOLR 1.4.1. When I search for empty string in a string field, q=tag_facet:, it return documents with values in tag_facet. When I use the same query q=tag_facet:, in SOLR 3.4, it is returning only documents with string in tag_facet. SOLR 3.4 works as expected. I just want to

How to convert date/timestamp to long in data-config.xml

2011-05-06 Thread Shanmugavel SRD
SOLR : 1.4.1 There are 1,300,000+ documents in the index. Sorting on a date field with timestamp leads to OutOfMemoryError. So, we are looking for a way to copy the timestamp as a long value to a field and sort based on that field. Can any one help me on how to convert the timestamp to a long

Re: How to find Master Slave are in sync

2011-01-27 Thread Shanmugavel SRD
Markus, The problem here is if I call the below two URLs immediately after replication then I am getting both the index versions as same. In my python script I have added code to swap the online core on master with offline core on master and online core on slave with offline core on slave, if

How to find Master Slave are in sync

2011-01-19 Thread Shanmugavel SRD
How to find Master Slave are in sync? Is there a way apart from checking the index version of master and slave using below two HTTP APIs? http://master_host:port/solr/replication?command=indexversion http://slave_host:port/solr/replication?command=details -- View this message in context:

Re: schema.xml in other than conf folder

2011-01-12 Thread Shanmugavel SRD
Hi, These two links helped me to solve the problem. https://issues.apache.org/jira/browse/SOLR-1154 http://wiki.apache.org/solr/SolrReplication#enable.2BAC8-disable_master.2BAC8-slave_in_a_node Thanks, SRD -- View this message in context:

Re: schema.xml in other than conf folder

2011-01-10 Thread Shanmugavel SRD
Chris, Our solr conf folder is in read-only file system. But the data directory (index) is not in read-only file system. As per our production environment guidelines, the configuration files should be in read-only file system. Thanks, SRD -- View this message in context:

schema.xml in other than conf folder

2011-01-06 Thread Shanmugavel SRD
I want to place the schema.xml in a place other than conf folder. Is it possible? This is as part of master and slave configuration. I want to place all the files which will be common between master and slave in a particular location. Can anyone help me on this? -- View this message in context:

Re: schema.xml in other than conf folder

2011-01-06 Thread Shanmugavel SRD
Erick, Thanks for your response. Our production environment is a read only file system. It is not allowing to modify or create new files under conf folder at runtime. So copy config through replication is not working for us. Thanks, SRD -- View this message in context:

Re: Query performance issue while using EdgeNGram

2010-12-22 Thread Shanmugavel SRD
1) Thanks for this update. I have to use 'WhiteSpaceTokenizer' 2) I have to suggest the whole query itself (Say name or title) 3) Could you please let me know if there is a way to find the evicted docs? 4) Yes, we are seeing improvement in the response time if we optimize. But still for some

SOLR 1.4.1 : Indexing DateField time zone problem

2010-11-25 Thread Shanmugavel SRD
I am using SOLR 1.4.1. My SOLR runs in a server which is in EST zone. I am trying to index a date field which is in MySQL as '2007-08-08T05:36:50Z' but while indexing it becomes '2007-08-08T09:36:50Z' where 4 hours got increased. But I want the date as is while indexing, means, after indexing I

Re: copyField is not tokenizing the values at index time

2010-11-23 Thread Shanmugavel SRD
Thanks Erick. -- View this message in context: http://lucene.472066.n3.nabble.com/copyField-is-not-tokenizing-the-values-at-index-time-tp1952756p1958946.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Spell-Check Component Functionality

2010-11-21 Thread Shanmugavel SRD
SOLR wiki page is the best place to find that. http://stackoverflow.com/questions/3004823/solr-spellcheck-configuration http://wiki.apache.org/solr/SpellCheckerRequestHandler http://wiki.apache.org/solr/SpellCheckComponent -- View this message in context:

Re: Meaning of avgTimePerRequest avgRequestsPerSecond in SOLR stats page

2010-11-19 Thread Shanmugavel SRD
Thanks Erick. -- View this message in context: http://lucene.472066.n3.nabble.com/Meaning-of-avgTimePerRequest-avgRequestsPerSecond-in-SOLR-stats-page-tp1922692p1932275.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Meaning of avgTimePerRequest avgRequestsPerSecond in SOLR stats page

2010-11-18 Thread Shanmugavel SRD
Erick, Thanks a lot for explaining about these two fields. Could you please let us know which one we have to look for if we have to monitor the performance? avgTimePerRequest OR avgRequestsPerSecond. Thanks, SRD -- View this message in context:

Re: Spell-Check Component Functionality

2010-11-18 Thread Shanmugavel SRD
Did you configure below one in your default request handler? arr name=last-components strspellcheck/str /arr -- View this message in context: http://lucene.472066.n3.nabble.com/Spell-Check-Component-Functionality-tp1923954p1929124.html Sent from the Solr - User mailing list

Re: DateFormatTransformer issue with value 0000-00-00T00:00:00Z

2010-11-17 Thread Shanmugavel SRD
Thanks for your reply. I am indexing docs in XML using DIH. I am not using MySQL to import data. -- View this message in context: http://lucene.472066.n3.nabble.com/DateFormatTransformer-issue-with-value--00-00T00-00-00Z-tp1910644p1916712.html Sent from the Solr - User mailing list archive

Re: DateFormatTransformer issue with value 0000-00-00T00:00:00Z

2010-11-17 Thread Shanmugavel SRD
I tried this in JAVA where the SOLR runs. Is it problem due to the encoding? Code: GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone(US/Eastern), Locale.US); System.out.println(calendar.getTime()); calendar.set(0, 0, 0, 0, 0, 0); System.out.println(calendar.getTime());

DateFormatTransformer issue with value 0000-00-00T00:00:00Z

2010-11-16 Thread Shanmugavel SRD
Hi, I am having a field as below in my feed. field name=published_from_dt-00-00T00:00:00Z/field I have configured the field as below in data-config.xml. field column=published_from_dt xpath=/add/doc/fie...@name='published_from_dt'] dateTimeFormat=-MM-dd'T'hh:mm:ss'Z' / But

Re: Index time boosting is not working with boosting value in document level

2010-10-13 Thread Shanmugavel SRD
Thanks Iorixxx... Boosting is working while using DIH to import XML. Thanks, SRD -- View this message in context: http://lucene.472066.n3.nabble.com/Index-time-boosting-is-not-working-with-boosting-value-in-document-level-tp1649072p1693423.html Sent from the Solr - User mailing list archive at

Re: Index time boosting is not working with boosting value in document level

2010-10-12 Thread Shanmugavel SRD
Thanks a ton Eric and Iorixxx. Since I used DIH to import XML data, boosting was not reflected in score. When I used /update to import XML data, boosting was considered for scoring and able to see the intended data on top 10 results. Could you please let me know how to make boosting value to be

Re: Index time boosting is not working with boosting value in document level

2010-10-11 Thread Shanmugavel SRD
Eric, Score is not coming properly even after giving boost value in document and field level. Please find the solrconfig.xml, schema.xml, data-config.xml, the feed and the score query. Doc with id 'ABCDEF/L' is boosted and doc with id 'MA147LL/A' is not boosted, but both are returning

Re: SOLR 1.4.1 to SOLR 1.3 issues (backward compatability issue)

2010-10-08 Thread Shanmugavel SRD
Thank you Otis. It solved the problem. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-1-4-1-to-SOLR-1-3-issues-backward-compatability-issue-tp1649789p1664057.html Sent from the Solr - User mailing list archive at Nabble.com.

Index time boosting is not working with boosting value in document level

2010-10-07 Thread Shanmugavel SRD
We are having 10 documents (all 10 documents with name_s=john) with boosting value 10.0 in doc level out of 100 documents. DataImportHandler is used to index the documents in xml. We gave omitNorms=false in a field called text and having schema.xml configured as below. Default query field is

SOLR 1.4.1 to SOLR 1.3 issues (backward compatability issue)

2010-10-07 Thread Shanmugavel SRD
When I tried to roll back from SOLR 1.4.1 to SOLR 1.3, I am unable to view the admin page alone rest of the functionality are fine. I removed the index folder before reverting back to SOLR 1.3. Does any one have answer for this? -- View this message in context:

Re: SOLR 1.4.1 to SOLR 1.3 issues (backward compatability issue)

2010-10-07 Thread Shanmugavel SRD
Thank you Otis. I will try these steps. Yes, it is not about indexing issue. Index and search functionality are working fine. Only admin page is not accessible. There is a process in our company to look for the roll back option while moving any changes to LIVE/Production. As part of that we found