Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
All, On Tue, Nov 15, 2011 at 1:21 PM, kashif.khan uplink2...@gmail.com wrote: Obviously there is some problem somewhere in the schema or any other files. the default SOLR demo which is by using the start.jar works well with the long field. It is just that we do not know where is the problem

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
a SimilarityFactory class name implementation allowing parameters to be used. -- !-- similarity class=com.example.solr.CustomSimilarityFactory str name=paramkeyparam value/str /similarity -- /schema On Tue, Nov 15, 2011 at 2:53 PM, rajini maski rajinima...@gmail.com wrote: All

Re: Solr 3.3 Sorting is not working for long fields

2011-11-15 Thread rajini maski
at 3:28 PM, Michael Kuhlmann k...@solarier.de wrote: Hi, Am 15.11.2011 10:25, schrieb rajini maski: fieldType name=long class=solr.TrieLongField precisionStep=0 omitNorms=true positionIncrementGap=0/ [...] fieldType name=tlong class=solr.TrieLongField precisionStep=8 omitNorms

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
have to provide more details, input, output, etc to get reasonable help. It might help to review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Fri, Nov 11, 2011 at 5:52 AM, rajini maski rajinima...@gmail.com wrote: Hi, I have upgraded my Solr from 1.4.1

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
, Rajani On Mon, Nov 14, 2011 at 2:23 PM, Michael Kuhlmann k...@solarier.de wrote: Am 14.11.2011 09:33, schrieb rajini maski: query : http://localhost:8091/Group/**select?/indent=onq=studyid:** 120sort=studyidasc,groupidhttp://localhost:8091/Group/select?/indent=onq=studyid:120sort=studyidasc

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
I On Mon, Nov 14, 2011 at 7:23 PM, Ahmet Arslan iori...@yahoo.com wrote: When I do a basic sort on *long *field. the sort doesn't happen. Query is : - http://blr-ws-195:8091/Solr3.3/select/?q=2%3A104+AND+526%3A27747version=2.2start=0rows=10indent=onsort=469%20ascfl=469# lst

Re: Solr 3.3 Sorting is not working for long fields

2011-11-14 Thread rajini maski
Yes . On 11/14/11, Ahmet Arslan iori...@yahoo.com wrote: I tried this one.   fieldType name=tlong class=solr.TrieLongField precisionStep=8 omitNorms=true positionIncrementGap=0/ It didn't work :( Sort didn't happen Did you restart tomcat and perform re-index?

Solr 3.3 Sorting is not working for long fields

2011-11-11 Thread rajini maski
Hi, I have upgraded my Solr from 1.4.1 to 3.3.Now I tried to sort on a long field and documents are not getting sorted based on that. Sort is working when we do sorting on facet ex:facet=on facet.sort=studyid But when do simple sort on documents , sort=studyid, sort doesn't

Re: Query on multi valued field

2011-08-02 Thread rajini maski
Thank you. This logic works for me. Thanks a lot. Regards, Rajani Maski On Wed, Aug 3, 2011 at 1:21 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : The query is get only those documents which have multiple elements for : that multivalued field. : : I.e, doc 2 and 3 should

Query on multi valued field

2011-07-29 Thread rajini maski
Hi All, I have a specific requirement in the multi-valued field type.The requirement is as follows There is a multivalued field in each document which can have mutliple elements or single element. For Eg: Consider that following are the documents matched for say q= *:* *DOC1* doc arr

Token Factory attribute in filter tag

2011-06-17 Thread rajini maski
How does this attribute token factory within filter work? In this link [click here],http://www.mail-archive.com/solr-dev@lucene.apache.org/msg05751.htmlThere is the usage of token factory in the synonym filter tag. Here I see the white space token at index time then a synonym filter

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
Erick: I have tried what you said. I needed clarification on this.. Below is my doubt added: Say If i have field type : fieldType name=Synonymdata class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
just work. But as I said, it would probably be best if you put your synonym filter only in at index or query time. An analogous process happens if you add synonyms at index time. Best Erick On Wed, Jun 15, 2011 at 8:14 AM, rajini maski rajinima...@gmail.com wrote: Erick: I have tried what

Re: Query on Synonyms feature in Solr

2011-06-15 Thread rajini maski
probably be best if you put your synonym filter only in at index or query time. An analogous process happens if you add synonyms at index time. Best Erick On Wed, Jun 15, 2011 at 8:14 AM, rajini maski rajinima...@gmail.com wrote: Erick: I have tried what you said. I needed clarification

Query on Synonyms feature in Solr

2011-06-13 Thread rajini maski
Synonyms feature to be enabled on documents in Solr. I have one field in solr that has the content of a document.( say field name : document_data). The data in that field is : Tamil Nadu state private school fee determination committee headed by Justice Raviraja has submitted the private

Re: Query on Synonyms feature in Solr

2011-06-13 Thread rajini maski
! Private schools. So WhitespaceTokenizerFactory generates two tokens: private schools and for KeywordTokenizerFactory the whole text is one token. Beste regards Karsten Original-Nachricht Datum: Mon, 13 Jun 2011 16:07:35 +0530 Von: rajini maski rajinima...@gmail.com

Code for getting distinct facet counts across shards(Distributed Process).

2011-06-09 Thread rajini maski
, Rajani On Fri, May 27, 2011 at 1:14 PM, rajini maski rajinima...@gmail.com wrote: No such issues . Successfully integrated with 1.4.1 and it works across single index. for f.2.facet.numFacetTerms=1 parameter it will give the distinct count result for f.2.facet.numFacetTerms=2

Re: Query regarding Solr-2242 patch for getting distinct facet counts.

2011-06-08 Thread rajini maski
, Rajani On Fri, May 27, 2011 at 1:14 PM, rajini maski rajinima...@gmail.com wrote: No such issues . Successfully integrated with 1.4.1 and it works across single index. for f.2.facet.numFacetTerms=1 parameter it will give the distinct count result for f.2.facet.numFacetTerms=2

Applying synonyms increase the data size from MB to GBs

2011-06-05 Thread rajini maski
Applying synonyms increased the data size from 28 mb to 10.3 gb Before enabling synonyms to the a field , the data size was 28mb. Now , after applying synonyms I see that data folder size has increased to 10.3 gb. Attached is schema field type for that field: fieldType name=textBODY

Re: Applying synonyms increase the data size from MB to GBs

2011-06-05 Thread rajini maski
, Gora Mohanty g...@mimirtech.com wrote: On Mon, Jun 6, 2011 at 10:34 AM, rajini maski rajinima...@gmail.com wrote: Applying synonyms increased the data size from 28 mb to 10.3 gb Before enabling synonyms to the a field , the data size was 28mb. Now , after applying synonyms I see

Re: Query regarding Solr-2242 patch for getting distinct facet counts.

2011-05-27 Thread rajini maski
wrote: I am pretty sure it does not yet support distributed shards.. But the patch was written for 4.0... So there might be issues with running it on 1.4.1. On 5/26/11 11:08 PM, rajini maski rajinima...@gmail.com wrote: The patch solr 2242 for getting count of distinct facet terms

Query regarding Solr-2242 patch for getting distinct facet counts.

2011-05-26 Thread rajini maski
The patch solr 2242 for getting count of distinct facet terms doesn't work for distributedProcess (https://issues.apache.org/jira/browse/SOLR-2242) The error log says HTTP ERROR 500 Problem accessing /solr/select. Reason: For input string: numFacetTerms

Re: Query on facet field¹s count

2011-05-25 Thread rajini maski
=-1f.StudyID.facet.namedistinct=1 shards=localhost:8090/solr2 It gets matched result set from both the cores but facet results are only from first core. Rajani On Sat, Mar 12, 2011 at 10:35 AM, rajini maski rajinima...@gmail.comwrote: Thanks Bill Bell . .This query works after applying the patch you refered

Re: Out of memory on sorting

2011-05-19 Thread rajini maski
Explicit Warming of Sort Fields If you do a lot of field based sorting, it is advantageous to add explicitly warming queries to the newSearcher and firstSearcher event listeners in your solrconfig which sort on those fields, so the FieldCache is populated prior to any queries being executed by

Re: Facet filter: how to specify OR expression?

2011-05-12 Thread rajini maski
The input parameter assigning to the field tint is type string (or). It is trying to assign tint=or which is incorrect. So the respective exception has occurred. On Thu, May 12, 2011 at 4:10 PM, cnyee yeec...@gmail.com wrote: The exception says: java.lang.NumberFormatExcepton: for input

Re: Searching accross Solr-Multicore

2011-05-09 Thread rajini maski
If the schema is different across cores , you can query across the cores only for those fields that are common. Querying across all cores for some query paramterer and gettin result set in one output xml can be achieved by shards

Does the Solr enable Lemmatization [not the Stemming]

2011-05-05 Thread rajini maski
Does the solr enable lemmatization concept? I found a documentation that gives an information as solr enables lemmatization concept. Here is the link : http://www.basistech.com/knowledge-center/search/2010-09-language-identification-language-support-and-entity-extraction.pdf Can anyone help

Re: Query regarding solr plugin.

2011-04-27 Thread rajini maski
faster in my experience... Good Luck! Erick On Tue, Apr 26, 2011 at 12:41 AM, rajini maski rajinima...@gmail.com wrote: Thanks Erick. I have added my replies to the points you did mention. I am somewhere going wrong. I guess do I need to club both the jars or something ? If yes, how do i do

Facing problem with white space in synonyms

2011-04-27 Thread rajini maski
Query related to solr synonymfilterfactory. I am using Solr 1.4.1. I have datatype field textSynonym fieldType name=textSynonym class=solr.TextField positionIncrementGap=100 analyzer filter class=solr.SynonymFilterFactory synonyms=synonyms.txt ignoreCase=true expand=true/

Re: Query regarding solr plugin.

2011-04-25 Thread rajini maski
Solr may be finding org.apachepco.search.orchSynonymFilterFactory but failing to load a dependency (that would have to be put in the lib or the jar). Hope that helps Erick On Fri, Apr 22, 2011 at 3:00 AM, rajini maski rajinima...@gmail.com wrote: One doubt regarding adding the solr

Re: Query regarding solr plugin.

2011-04-25 Thread rajini maski
, then we can see what else we can come up with.. Best Erick On Mon, Apr 25, 2011 at 2:34 AM, rajini maski rajinima...@gmail.com wrote: Erick , * * * Thanks.* It was actually a copy mistake. Anyways i did a redo of all the below mentioned steps. I had given class name as filter class

Query regarding solr plugin.

2011-04-22 Thread rajini maski
One doubt regarding adding the solr plugin. I have a new java file created that includes few changes in SynonymFilterFactory.java. I want this java file to be added to solr instance. I created a package as : org.apache.pco.search This includes OrcSynonymFilterFactory java class

How to avoid Lock file generation - solr 1.4.1

2011-04-06 Thread rajini maski
I am using Solr 1.4.1(windows os) and below are the settings in my solr config file: writeLockTimeout1000/writeLockTimeout commitLockTimeout1/commitLockTimeout ramBufferSizeMB32/ramBufferSizeMB maxMergeDocs1/maxMergeDocs lockTypenative/lockType While writing the index, I am

Error while performing facet search across shards..

2011-03-29 Thread rajini maski
An error while performing facet across shards..The following is the query: http://localhost:8090/InstantOne/select?/indent=on shards=localhost:8090/InstantOne,localhost:8091/InstantTwo ,localhost:8093/InstantThreeq=filenumber:10facet=onfacet.field=studyId No studyId fields are blank

Query on facet field’s count

2011-03-11 Thread rajini maski
Query on facet field results... When I run a facet query on some field say : facet=on facet.field=StudyID I get list of distinct StudyID list with the count that tells that how many times did this study occur in the search query. But I also needed the count of these distinct StudyID

Index Defaults Section and main index section that is in solrconfig.xml

2011-03-11 Thread rajini maski
Any documentation on index Defaults Section and main index section that is in solrconfig.xml -- Solr1.4.1 I want to understand the terminology of these parameters and how are they inter connected?mergeFactor10/mergeFactorramBufferSizeMB32/ramBufferSizeMB

Re: Query on facet field¹s count

2011-03-11 Thread rajini maski
mobile On Mar 11, 2011, at 1:34 AM, rajini maski rajinima...@gmail.com wrote: Query on facet field results... When I run a facet query on some field say : facet=on facet.field=StudyID I get list of distinct StudyID list with the count that tells that how many times did

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 8. mars 2011, at 07.40, rajini maski wrote: In order to increase the Java heap memory, I have only 2gb ram… so my default memory configuration is --JvmMs 128 --JvmMx 512 . I have the single solr data

Re: Use of multiple tomcat instance and shards.

2011-03-08 Thread rajini maski
the scenario you explained doesn't allow it but anyways you could also check Solr Cloud and its distributed requests [1]. Cheers, Tommaso [1] : http://wiki.apache.org/solr/SolrCloud#Distributed_Requests 2011/3/8 Tommaso Teofili tommaso.teof...@gmail.com Hi Rajani, i 2011/3/8 rajini

Use of multiple tomcat instance and shards.

2011-03-07 Thread rajini maski
In order to increase the Java heap memory, I have only 2gb ram… so my default memory configuration is --JvmMs 128 --JvmMx 512 . I have the single solr data index upto 6gb. Now if I am trying to fire a search very often on this data index, after sometime I find an error as java heap

Re: Full Text Search with multiple index and complex requirements

2011-03-06 Thread rajini maski
I just tried to answer your many questions, liking youe questions type.. Answers attached to questions.. Thank you Rajini, for your interest :) A) The data for every user is totally unrelated to every other user. This gives us few advantages: 1. we can keep our indexes small in size.

Re: Solr under Tomcat

2011-03-02 Thread rajini maski
Sai, The index directory will be in your Solr_home//Conf//data directory.. The path for this directory need to be given where ever you want to by changing the data-dir path in config XML that is present in the same //conf folder . You need to stop tomcat service to delete this directory and

Create a tomcat service.

2011-02-28 Thread rajini maski
Does anybody have a script to create a tomcat service? I'm trying to set my system up to run multiple instances of tomcat at the same time (on different ports, obviously), and can't get the service to create properly.I tried to follow the steps mentioned in this

Tomcat EXE Source Code

2011-02-25 Thread rajini maski
Can anybody help me to get the source code of the Tomcat exe file i.e, source code of the installation exe . Thanks..

Re: Tomcat EXE Source Code

2011-02-25 Thread rajini maski
this problem.. Any suggestions? On Fri, Feb 25, 2011 at 3:18 PM, Jan Høydahl jan@cominvent.com wrote: Why do you want it? Try asking on the Tomcat list :) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 25. feb. 2011, at 09.16, rajini maski wrote

Re: Configure 2 or more Tomcat instances.

2011-02-23 Thread rajini maski
have jdk1.6.0_02 and tomcat 6 version set up.. Regards Rajani Maski On Tue, Feb 22, 2011 at 7:53 PM, Paul Libbrecht p...@hoplahup.net wrote: Rajini, you need to make the (~3) ports defined in conf/server.xml different. paul Le 22 févr. 2011 à 12:15, rajini maski a écrit

Configure 2 or more Tomcat instances.

2011-02-22 Thread rajini maski
I have a tomcat6.0 instance running in my system, with connector port-8090, shutdown port -8005 ,AJP/1.3 port-8009 and redirect port-8443 in server.xml (path = C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml) How do I configure one

Re: Faceting Query

2011-02-14 Thread rajini maski
, 2011 at 4:18 PM, rajini maski rajinima...@gmail.com wrote: This feature works in SOLR 4.0 release. You can follow this link for knowing how it works... Click herehttp://solr.pl/en/2010/10/25/hierarchical-faceting-pivot-facets-in-trunk/ Regards Rajani Maski On Mon, Feb 14, 2011 at 4

Re: Solr -File Based Spell Check

2010-12-06 Thread rajini maski
...@gmail.comwrote: Are you sure you want spellcheck/autosuggest? Because what you're talking about almost sounds like synonyms. Best Erick On Mon, Dec 6, 2010 at 1:37 AM, rajini maski rajinima...@gmail.com wrote: How does the solr file based spell check work? How do we need to enter

Re: Solr -File Based Spell Check and Read .cfs file generated

2010-12-06 Thread rajini maski
Anyone know abt it? how to extract the dictionary generated by default.? How do i read this .cfs files generated in index folder.. Awaiting reply On Mon, Dec 6, 2010 at 7:54 PM, rajini maski rajinima...@gmail.com wrote: Yeah.. I wanna use this Spell-check only.. I want to create myself

Solr -File Based Spell Check

2010-12-05 Thread rajini maski
How does the solr file based spell check work? How do we need to enter data in the spelling.txt...I am not clear about its functionality..If anyone know..Please reply. I want to index a word = Wear But while searching I search as =Dress I want to get results for Wear.. How do i apply this

Re: Spell-Check Component Functionality

2010-11-21 Thread rajini maski
If any one know articles or blog on solr spell-check component configuration type..please let me know..solr-wiki not helping me solve maze.. On Fri, Nov 19, 2010 at 12:40 PM, rajini maski rajinima...@gmail.comwrote: And If I am trying to do : http://localhost:8909/solr/select/?spellcheck.q

Spell-Check Component Functionality

2010-11-18 Thread rajini maski
All, I am trying apply the Solr spell check component functionality to our data. The configuration set up I needed to make for it by updating config.xml and schema.xml is done as follows.. Please let me know if any errors in it. I am not getting any suggestions in suggestion tags of solr

Re: Spell-Check Component Functionality

2010-11-18 Thread rajini maski
Hello Peter, Thanks For reply :)I did spellcheck.q=Curst as you said ...Query is like: http://localhost:8909/solr/select/?spellcheck.q=Curstversion=2.2start=0rows=10indent=onspellcheck=true I am getting this error :( HTTP Status 500 - null java.lang.NullPointerException at

Re: Spell-Check Component Functionality

2010-11-18 Thread rajini maski
replies.. Rajani Maski On Fri, Nov 19, 2010 at 11:32 AM, rajini maski rajinima...@gmail.comwrote: Hello Peter, Thanks For reply :)I did spellcheck.q=Curst as you said ...Query is like: http://localhost:8909/solr/select/?spellcheck.q=Curstversion=2.2start=0rows=10indent=onspellcheck

Re: Looking for Developers

2010-10-28 Thread rajini maski
Its better if we can make some solr-job list.. that would be better.. if not, chances that this mailing list of solr queries become less of that and more lik job forum.. this mailing list is so uselful to all developers to get answers for their techinical queries.. On Thu, Oct 28, 2010 at 11:30

Logic behind Solr creating files in .../data/index path.

2010-09-07 Thread rajini maski
All, While we post data to Solr... The data get stored in //data/index path in some multiple files with different file extensions... Not worrying about the extensions, I want to know how are these number of files created ? Does anyone know on what logic are these multiple index files created

Re: stream.url problem

2010-08-17 Thread rajini maski
If the connector port number in your localhost is same as in other system then this error is probable..You can change port number in server.xml of your system or other system and make them different...If it is different only then one other probablity is remote access enabled or not... Rajani

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
I am getting it while indexing data to solr not while querying... Though I have enough memory space upto 40GB and I my indexing data is just 5-6 GB yet that particular error is seldom observed... (SEVERE ERROR : JAVA HEAP SPACE , OUT OF MEMORY ERROR ) I could see one lock file generated in the

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
set for the JVM What kind of documents are you indexing? The memory you have is irrelevant if you only allocate a small portion of it for the running process... Best Erick On Tue, Aug 17, 2010 at 7:35 AM, rajini maski rajinima...@gmail.com wrote: I am getting it while indexing data

Re: Solr-HOW TO HANDLE THE LOCK FILE CREATION WHILE INDEXING AND OPERATION TIMED OUT WEB EXCEPTION ERROR

2010-08-17 Thread rajini maski
On Tue, Aug 17, 2010 at 12:10 AM, rajini maski rajinima...@gmail.com wrote: Hello Everyone, Please help me knowing the logic behind this lock file generation while indexing data in solr! The trouble I am facing is as follows: The data that I indexed is nearly in millions

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
? How often do you commit your changes? On Tue, Aug 17, 2010 at 1:18 PM, rajini maski rajinima...@gmail.com wrote: mergefactor100 /mergefactor JVM Initial memory pool -256MB Maximum memory pool -1024MB add doc fieldlong:ID/field fieldstr:Body/field 12 fields

Re: OutOfMemoryErrors

2010-08-17 Thread rajini maski
Also, what else happens while you're indexing? Do you search while indexing? How often do you commit your changes? On Tue, Aug 17, 2010 at 1:18 PM, rajini maski rajinima...@gmail.com wrote: mergefactor100 /mergefactor JVM Initial memory pool -256MB

Solr-HOW TO HANDLE THE LOCK FILE CREATION WHILE INDEXING AND OPERATION TIMED OUT WEB EXCEPTION ERROR

2010-08-16 Thread rajini maski
Hello Everyone, Please help me knowing the logic behind this lock file generation while indexing data in solr! The trouble I am facing is as follows: The data that I indexed is nearly in millions. At the initial level of indexing I find no errors unless it cross up-to 10lacs

Re: OutOfMemoryErrors

2010-08-16 Thread rajini maski
Hello There, Even I am facing same errors... @Grijesh, Where exactly I need to make these changes of increasing JVM heap space..I mean where i need to specify them... ? I had made changes in tomcat config Java(JVM) initial memory pool and maximum memory pool to 256-1024MB..Yet the error persists

Re: Problems running on tomcat

2010-08-02 Thread rajini maski
I have observed this error while there is mistake in indexed fields.. i.e; The field defined while indexing but undefined in schema... then this error is thrown.. You can check for that missing filed in your Catalina logs.. There it will be written as Unknown filed.. Regards, Rajani Maski On

Re: logic required for newbie

2010-07-29 Thread rajini maski
requirement is only match landmark should return.. So I want to filter the column which carry text (match to query). hoping someone will help me to clear my concept.. regards On Thu, Jul 29, 2010 at 9:41 AM, rajini maski rajinima...@gmail.com wrote: First of all I hope that in schema you

Re: logic required for newbie

2010-07-28 Thread rajini maski
you can index each of these field separately... field1- Id field2- name field3-user_id field4-country. field7- landmark While quering you can specify q=Landmark9 This will return you results.. And if you want only particular fields in output.. use the fl parameter in query... like

Re: logic required for newbie

2010-07-28 Thread rajini maski
can filter the fields but here I dont know the the field name because it depends on text match. is there any other solution.. I am ready to change in schema or in logic. I am using solrj. please help me I stuck here.. with regards On Wed, Jul 28, 2010 at 7:22 PM, rajini maski rajinima

Re: SolrJ Response + JSON

2010-07-28 Thread rajini maski
Yeah right... This query will do it http://localhost:8090/solr/select/?q=*:*version=2.2start=0rows=10indent=onwt=json This will do your work... This is more liike using xsl transformation supported by solr..:) Regards, Rajani Maski On Wed, Jul 28, 2010 at 6:24 PM, Mark Allan

Re: Tree Faceting in Solr 1.4

2010-07-22 Thread rajini maski
I am also looking out for same feature in Solr and very keen to know whether it supports this feature of tree faceting... Or we are forced to index in tree faceting formatlike 1/2/3/4 1/2/3 1/2 1 In-case of multilevel faceting it will give only 2 level tree facet is what i found.. If i give