Re: spell suggest response

2011-01-13 Thread Grijesh.singh

Similar type of work I have done earlier by using spell-check component with
auto-suggest combined.

Autosuggest will provide the words starting with query term and spellcheck
returns the words similar to that.
I have combined both suggestion in single list to display

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/spell-suggest-response-tp2233409p2247479.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Dismax, Sharding and Elevation

2011-01-13 Thread Grijesh.singh

As I seen the code for QueryElevationComponent ,there is no supports for
Distributed Search i.e. query elevation does not works with shards.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-Sharding-and-Elevation-tp2247156p2247522.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr 4.0 = Spatial Search - How to

2011-01-13 Thread Grijesh.singh

I have used that type of location searching. But I have not used spatial
search. I wrote my logic at application end.
I have cached the location ids and their lat/lang. When queries are comming
for any location say New Delhi then my location searche logic at
application end calculate the distance from New Delhi to other locations
from my cache and short lists the only location which are in my radious. and
then I have goto solr for search on all locations i have got from my logic.

It works faster because it worked on only some data near about 500
locations. But in spatial search that calculation is done for all document
counts which we have .

So this workaround does not impact on performance when my index size will
grow up but spatial search do. 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-0-Spatial-Search-How-to-tp2245592p2253682.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Question on deleting all rows for an index

2011-01-12 Thread Grijesh.singh

Use this type of url for delete all data with fallowed by commit
http://localhost:8983/solr/update/?stream.body=deletequery*:*/query/deletecommit=true
 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Question-on-deleting-all-rows-for-an-index-tp2246726p2246948.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: DIH dataimport.properties file

2011-01-11 Thread Grijesh.singh

You have to explicitly call
http://host:port/solr/dataimport?command=delta-import to start
delta-import.
You can setup it as cronjob.

As per my knowledge dataimport.properties file contains parameter to be used
in DtataImport xml configuration file for example database related  file
contains text as


#Wed Dec 15 14:56:57 IST 2010
last_index_time=2010-12-15 14\:56\:53
feed.last_index_time=2010-12-15 14\:56\:53

I don't know how it contains text as
/select?qt\=/dataimportcommand\=delta-importclean\=falsecommit\=true as
you are saying.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/DIH-dataimport-properties-file-tp2229115p2233653.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: pruning search result with search score gradient

2011-01-11 Thread Grijesh.singh

Look at Solr Function Queries they might help you

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/pruning-search-result-with-search-score-gradient-tp2233760p2233773.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: field_Type 'Textsplell'

2011-01-11 Thread Grijesh.singh

Check their configurations they are using different Analysis .i.e their
definition is different

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/field-Type-Textsplell-tp2239237p2239275.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr search performance

2011-01-11 Thread Grijesh.singh

Which type of performance issues you have index time or query time?

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-search-performance-tp2239298p2239338.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr search performance

2011-01-11 Thread Grijesh.singh

what means query time index issue? Please provide more detail of your
problem.

the field type textSpell is defined in example schema.xml for Spell
Suggestion.What analysis chain you have used in your textSpell field.
for what purpose you are using that field ? 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-search-performance-tp2239298p2239378.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Input raw log file

2011-01-11 Thread Grijesh.singh

How you parsed you log?
Which way you gone for index of log file data?
have you done any work what Gora Mohanty has suggested to you.

I am local for Delhi NCR area.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Input-raw-log-file-tp2210043p2239505.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Input raw log file

2011-01-11 Thread Grijesh.singh

It will not work.
I think your log files are not in solr Doc xml files.

First thing is that your log files is raw data.
you have to convert it to any of solr readable data either in solr xml DOC
or CSV format to index on solr As Gora suggested to you.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Input-raw-log-file-tp2210043p2239530.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Input raw log file

2011-01-11 Thread Grijesh.singh

First thing is that your raw log files solr can not understand. Solr needs
data according to schema  defined And also solr does not know your log file
format .

So you have to write a parser program that will parse your log files into a
existing solr writable formats .Then you can be able to index that data.



-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Input-raw-log-file-tp2210043p2239548.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr search performance

2011-01-11 Thread Grijesh.singh

what are your Benchmarks , 
Please describe in detail your problem, 
What is exactly being .
What is the way you are indexing and quering 
what data you indexing,
how much data you indexing.
What are your server configurations.
How much Ram you are using



-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-search-performance-tp2239298p2239714.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Internal Server Error when indexing a pdf file

2011-01-10 Thread Grijesh.singh

Check your libraries for Tika related Jar files.Tika related files must be on
classpath of solr

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Internal-Server-Error-when-indexing-a-pdf-file-tp2214617p2226374.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Input raw log file

2011-01-07 Thread Grijesh.singh

There is a csv update handler in solr you can use it by modifying your
logfile

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Input-raw-log-file-tp2210043p2210673.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Improving Solr performance

2011-01-07 Thread Grijesh.singh

Some questions-
1-Are all shards on same machine
2-What is your Ram Size
3-What are the size of index on each shards in GB


-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Improving-Solr-performance-tp2210843p2210878.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Improving Solr performance

2011-01-07 Thread Grijesh.singh

shards are used when index size become huge and performance going down .
shards mean distributed indexes. But if you will put all shards on same
machine as multicore then it will not help too much on performance.

and also shards distributes indexes near equals in size.
There is also not enough Ram to perform better.If your all index can load in
Cache then it will give you better performance.

Also there are not equally distributed indexes so all shards have different
response time.
When working with shards please keep in mind that main searcher sends query
to all shards and waits for response from all shards and incorporate all
responses in a single result and returns. 

So if any of shards taking more time to response then your total response
time will affect

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Improving-Solr-performance-tp2210843p2211226.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Improving Solr performance

2011-01-07 Thread Grijesh.singh

shards are used when index size become huge and performance going down .
shards mean distributed indexes. But if you will put all shards on same
machine as multicore then it will not help too much on performance.

and also shards distributes indexes near equals in size.
There is also not enough Ram to perform better.If your all index can load in
Cache then it will give you better performance.

Also there are not equally distributed indexes so all shards have different
response time.
When working with shards please keep in mind that main searcher sends query
to all shards and waits for response from all shards and incorporate all
responses in a single result and returns. 

So if any of shards taking more time to response then your total response
time will affect

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Improving-Solr-performance-tp2210843p2211228.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: Improving Solr performance

2011-01-07 Thread Grijesh.singh

open a new mail conversation for that

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Improving-Solr-performance-tp2210843p2211300.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: forward slash not working in my solr search

2011-01-06 Thread Grijesh.singh

First you have to check that your indexing process can cause of removing the
whitespace

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/forward-slash-not-working-in-my-solr-search-tp2204326p2204336.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: forward slash not working in my solr search

2011-01-06 Thread Grijesh.singh

check with debugQuery=on and also with analysis.jsp ,what happening with your
query term and indexed terms.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/forward-slash-not-working-in-my-solr-search-tp2204326p2204436.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: get score value

2011-01-06 Thread Grijesh.singh

add parameter  fl=*,score with your query url,
It will return all fields with score of every document

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/get-score-value-tp2204353p2204458.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: forward slash not working in my solr search

2011-01-06 Thread Grijesh.singh

use as pharase it will work like Computer / IT for you

Here IT is a stopword when you are trying query as

category:Computer / IT

parsed as category:Computer default-search-field:IT
but IT is a stopword for default search field what you have selected

so second query removed and only category:Computer is showing

use your query as 
category:Computer / IT

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/forward-slash-not-working-in-my-solr-search-tp2204326p2204575.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Sub query using SOLR?

2011-01-05 Thread Grijesh.singh

Why thinking so complex,just use result of first query as filter for your
second query
like
fq=related_id:(id1 OR id2 OR id3 )q=q=”type:IT AND manager_12:dave”

somthing like that

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Sub-query-using-SOLR-tp2193251p2197490.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Error when running simple queries to solr

2011-01-05 Thread Grijesh.singh

/opt/solr i.e. solr/home only requires conf,data,lib directories.
why you have putted other directories under solr/home location.

The [solr/home]/data directory must required the Write permission ,Please
check and provide appropriate permissions to directories because solr will
try to write in data directory.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Error-when-running-simple-queries-to-solr-tp2196060p2197539.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Embedding SOLR in Dot NET Application

2011-01-05 Thread Grijesh.singh

Solr is not a library like Lucene. Solr works like Webservice application
over http.
It works over http so you can easly integrate it in any application.

it takes input as http parameters and returns response in different forms
like xml, json, php, csv etc.So you can use any response type for your
application.You have to parse response and use into your application

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Embedding-SOLR-in-Dot-NET-Application-tp2197589p2197653.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr on third party hosting account throws java.lang.RuntimeException: Cannot create directory: /usr/local/tomcat/a

2011-01-05 Thread Grijesh.singh

/usr/local/tomcat/apache-tomcat-6.0.26/bin/./solr/data/index

Thats showing that solr is getting as solr/home as
/usr/local/tomcat/apache-tomcat-6.0.26/bin/
either your solr/home settings in web.xml is not working 
Or
You have the default solrconfig.xml data-directory settings ,either you
have to modify the data-directory setting or comment out data-directory
setting in solrconfig.xml

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-on-third-party-hosting-account-throws-java-lang-RuntimeException-Cannot-create-directory-usr-loa-tp2204009p2204298.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Sort Facet Query

2011-01-03 Thread Grijesh.singh

Use parameter as Per Field Basis as

f.your field name.facet.sort=index

 Solr1.4 -- the true/false values have been deprecated starting with Solr
1.4, instead use count for sorting by count, and index for sorting by index
order.

The default is true/count if facet.limit is greater than 0, false/index
otherwise.

This parameter can be specified on a per field basis.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Sort-Facet-Query-tp2167635p2183858.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Different behavior for q=goo.com vs q=@goo.com in queries?

2011-01-02 Thread Grijesh.singh

Provide us what Analyzers/Filters are you using for Analysis of email field.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Different-behavior-for-q-goo-com-vs-q-goo-com-in-queries-tp2168935p2183256.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Inner index stock big BLOB or separate in a DB ?

2010-12-30 Thread Grijesh.singh

Second option is better. Storing Big BLOB data in index will increase index
size and it will create performance issues

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Inner-index-stock-big-BLOB-or-separate-in-a-DB-tp2166964p2167129.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Problem of results ordering

2010-12-26 Thread Grijesh.singh

Your problem is Term Frequency, You do not want to consider term frequency
try omit Term Frequency. 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Problem-of-results-ordering-tp2139314p2150722.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: DIH for sharded database?

2010-12-20 Thread Grijesh.singh

you can put table names in a different table and use like this

entity name=tab query=select table_name from sometable
rootEntity=false
   entity query=select * from ${tab.table_name}
-
-
-
-
-
   /entity
/entity


-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/DIH-for-sharded-database-tp2113767p2119370.html
Sent from the Solr - User mailing list archive at Nabble.com.


RE: solr 4.0 - pagination

2010-12-20 Thread Grijesh.singh

Then what will be when we filter out only some result and want to group ,how
your index time group count will help.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-4-0-pagination-tp1812384p2124747.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to update solr index.

2010-12-08 Thread Grijesh.singh

You have to create again solr xml doc from modified data with same unique id
and post it to solr
You can not change any specific field of any document 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-update-solr-index-tp2038480p2038801.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to Update Value of One Field of a Document in Index?

2010-09-10 Thread Grijesh.singh

There is no way to update any field in solr,You have to reindex that entire
document again.

you can get that doc from index create xml with existing fields with your
updated field and post that xml to solr.

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-Update-Value-of-One-Field-of-a-Document-in-Index-tp1450648p1450772.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Regarding WordDelimiterFactory

2010-09-09 Thread Grijesh.singh

set splitWordsPart=0,splitNumberPart=0 

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Regarding-WordDelimiterFactory-tp1444694p1444742.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr searching harri finds harry

2010-09-08 Thread Grijesh.singh

U have not provided much detail about analysis of that field,but I am sure
that problem because of stemming
u can see by analysis page or by debugQuery=on parameter.

To prevent stemming u have to put words in protword.txt on which u do not
need any stemming

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-searching-harri-finds-harry-tp1438486p1438637.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Creating a sub-index from another

2010-09-08 Thread Grijesh.singh

you need a separate solr core for that
and have to write a processor which process with your original index ,then
generate the xml data and push to the new core.That is the simple way that i
have used many times.   

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Creating-a-sub-index-from-another-tp1438386p1438673.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Multi core schema file

2010-09-08 Thread Grijesh.singh

solr.xml allows you to mention the other properties as well like
instanceDir, config,schema in the cores/core tag

So , sharing the entire conf dir may not be possible , but it is
possible to share solrconfig.xml  and schema.xml

U can see the detail parameters at wiki page
http://wiki.apache.org/solr/CoreAdmin

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-core-schema-file-tp1438460p1438720.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr searching harri finds harry

2010-09-08 Thread Grijesh.singh

have u restart the solr after adding words in protwords and reindex the data?

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-searching-harri-finds-harry-tp1438486p1438735.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr searching harri finds harry

2010-09-08 Thread Grijesh.singh

yes reindexing is necessary for protwords,synanym update

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-searching-harri-finds-harry-tp1438486p1438802.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: using Solr with very large search terms

2010-09-06 Thread Grijesh.singh

Increase the Http Header size of Tomacat server.xml
and increase the maxBooleanClauses of solrconfig.xml to support the very
large queries

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/using-Solr-with-very-large-search-terms-tp1415558p1424649.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to enable Unicode Support in Solr

2010-09-06 Thread Grijesh.singh

solr supports UTF8 char set so use any ofthe MappingCharFilterFactory/
UnicodeNormalizationFilterFactory/ASCIIFoldingFilterFactory for searching
and indexing of that type of data

-
Grijesh
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-enable-Unicode-Support-in-Solr-tp1424561p1424671.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Implementing Memcache for Solr

2010-09-01 Thread Grijesh.singh

As per my experience with memcache was not so good .
Finaly I have configured solr's built in cache for best perfoemance.
By memcache we were caching query,bu it solr provides already.
you can take a call after Load testing with memcache and without memcache 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Implementing-Memcache-for-Solr-tp1398625p1398823.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Deploying Solr 1.4.1 in JbossAs 6

2010-09-01 Thread Grijesh.singh

1-extract the solr.war
2-edit the web.xml for setting solr/home param
3-create the solr.war
4-setup solr home directory
5-copy the solr.war to JBossAs 6 deploy directory
7-start the jboss server
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Deploying-Solr-1-4-1-in-JbossAs-6-tp1392539p1398859.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Implementing synonym NewBie

2010-08-31 Thread Grijesh.singh

Index time synonym explore is the better way if u do not have the disk space
concern. 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Implementing-synonym-NewBie-tp1379269p1392927.html
Sent from the Solr - User mailing list archive at Nabble.com.


Spellcheck in multilanguage search

2010-08-31 Thread Grijesh.singh

How can be spellcheck configured for multilanguage search,I have to index 17
languages in my indexes and search on them also wants to use spellcheck for
that
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Spellcheck-in-multilanguage-search-tp1393357p1393357.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Search results after importing from Dih

2010-08-27 Thread Grijesh.singh

have u commited the data,

use *:* query to see that data is commited yet or not
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Search-results-after-importing-from-Dih-tp1365720p1365927.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto ID for Documents indexed

2010-08-27 Thread Grijesh.singh

No there is no such feature,your indexing component have to keep generation
of ids
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-ID-for-Documents-indexed-tp1367972p1369051.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to delete documents from SOLR index using DIH

2010-08-26 Thread Grijesh.singh

DIH is not basically for deletion it is for inserting data into index.
Although it has a parameter clean which is by default true and it cleans
the index every time when full-import command is issued, means it create
index from scratch. 

If your requirement is to delete whole index you can also use: 
http://localhost:8080/solr/update?stream.body=deletequery*:*/query/delete
 
http://localhost:8080/solr/update?stream.body=commit/ 

If your requirement is to delete data from index selectively, change the
above query accordingly: 
http://localhost:8080/solr/update?stream.body=deletequeryadId:1002/query/delete
 
http://localhost:8080/solr/update?stream.body=commit/ 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-delete-documents-from-SOLR-index-using-DIH-tp1323794p1346743.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to get most indexed keyword from SOLR

2010-08-23 Thread Grijesh.singh

Hi Pawan,

If u r using solr1.4 or latter version then u can see terms info by using
terms request handler like

http://localhost:8080/solr/terms/?terms.fl=textterms.sort=count
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-get-most-indexed-keyword-from-SOLR-tp1240552p1289084.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr for multiple websites

2010-08-19 Thread Grijesh.singh

Using multicore is the right approach 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-for-multiple-websites-tp1173220p1219772.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Date sorting

2010-08-18 Thread Grijesh.singh

provide schema.xml and solrconfig.xml to dig the problem and by which version
of solr u have indexed the data?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219534.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Date sorting

2010-08-18 Thread Grijesh.singh

lance, is there any Bug in solr1.4 related to sorting on date field?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Date-sorting-tp1219372p1219537.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: OutOfMemoryErrors

2010-08-17 Thread Grijesh.singh

U can set up in startup script of tomcat
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/OutOfMemoryErrors-tp1181731p1182582.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: OutOfMemoryErrors

2010-08-17 Thread Grijesh.singh

put that line in your startup script or u can set as env var 
export CATALINA_OPTS=-Xms256m -Xmx1024m;
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/OutOfMemoryErrors-tp1181731p1182708.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: OutOfMemoryErrors

2010-08-17 Thread Grijesh.singh

U can add like this it will work I am using it

JAVA_OPTS=$JAVA_OPTS -Xms1024m -Xmx4096m 
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/OutOfMemoryErrors-tp1181731p1183229.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: OutOfMemoryErrors

2010-08-17 Thread Grijesh.singh

ramBufferSize is preferred to be 128MB more than that it does not seemes to
improve performance
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/OutOfMemoryErrors-tp1181731p1199592.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: OutOfMemoryErrors

2010-08-16 Thread Grijesh.singh

increase your JVM Heap space by using params
-Xms1024m
-Xmx4096m

Like this.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/OutOfMemoryErrors-tp1181731p1181892.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto suggest with spell check

2010-08-05 Thread Grijesh.singh

Given below are the steps for auto-suggest and spellcheck in single query:
Make the change in TermComponent part in solrconfig.xml

searchComponent name=termsComponent
class=org.apache.solr.handler.component.TermsComponent/
requestHandler name=/terms
class=org.apache.solr.handler.component.SearchHandler
 lst name=defaults
  bool name=termstrue/bool
/lst
arr name=components
  strtermsComponent/str   
  strspellcheck/str!--Added for using spellcheck with termcomponent
--
/arr
  /requestHandler
Use given below query format for getting autosuggest and spellcheck
suggestion.
http://localhost:8983/solr/terms?terms.fl=textterms.prefix=computrspellcheck.q=computrspellcheck=true
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-suggest-with-spell-check-tp1015114p1025688.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: schema.xml

2010-07-26 Thread Grijesh.singh

Hi ,
There is no required fields except u specify any fields to required.U can
remove or add as many fields u want.

That is an example schema which shows how feilds are configured
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/schema-xml-tp995696p995800.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Dismax query response field number

2010-07-22 Thread Grijesh.singh

Do u have data in that field also,Solr returns field which have data only.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Dismax-query-response-field-number-tp985567p986417.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: set field with value 0 to the end

2010-07-21 Thread Grijesh.singh

Integer field can be empty also, I think u have set required=true if that
remove required=true,
and u can live field without data at the time of indexing.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p983728.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: nested query and number of matched records

2010-07-21 Thread Grijesh.singh

I Think Solr does not provide any thing like that U want.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/nested-query-and-number-of-matched-records-tp983756p983938.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: set field with value 0 to the end

2010-07-21 Thread Grijesh.singh

why using  default=0 its optional remove that from field definition
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p986115.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Handling Pagination when using the collapsing feature

2010-07-20 Thread Grijesh.singh

I have applied patch#236 for collapsing in solr1.3 and getting the count
after collapse.My pagination is also working fine.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Handling-Pagination-when-using-the-collapsing-feature-tp980637p980745.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: set field with value 0 to the end

2010-07-20 Thread Grijesh.singh

If u can do ,then don't store as 0 ,then by sorting it will come at last (if
is used SortMissingLast=true).
Either u can create a different field for shorting and for empty price don't
set anything to field.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p980760.html
Sent from the Solr - User mailing list archive at Nabble.com.