limiting the content of content field in search results

2011-12-12 Thread ayyappan
I am developing n application which indexes whole pdfs and other documents to solr. I have completed a working version of my application. But there are some problems. The main one is that when I do a search the indexed whole document is shown. I have used solrj and need some help to reduce this con

Re: How do create dynamic core using SOLRJ

2012-04-27 Thread ayyappan
Thanks for response .i tried above ur l but i was getting error SEVERE: org.apache.solr.common.SolrException: Error executing default implementa tion of CREATE at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(Cor eAdminHandler.java:250) at org.apache.solr.handl

Re: How do create dynamic core using SOLRJ

2012-04-30 Thread ayyappan
It is seems to be working fine . But i have few question abt indexing 1)i want do index to each customer as well as partner. 2 )how do i create index to each partner (30 customers) ? As of now i am index all customer using data-config.xml

problem with date searching.

2012-05-04 Thread ayyappan
Hi I'm having a slight problem with date searching... if i give same date range in search query it seems to be working fine when try to give the different date range and i am not getting result. Ex : select/?defType=dismax&q=[*"2012-02-02T01:30:52Z" TO "2012-02-02T01:30:52Z"*]&qf=scanneddate

Re: problem with date searching.

2012-05-04 Thread ayyappan
thanks for quick response. I tried your advice . ["2011-09-22T22:40:30Z" TO "2012-02-02T01:30:52Z"] like that even though i am not getting any result . -- View this message in context: http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761p3961833.html Sent from the Solr - Us

Re: problem with date searching.

2012-05-14 Thread ayyappan
In fact I am able to see "scanneddate" field when i added query like this "responseHeader":{ - - "q":" ibrahim.hamid 2012-02-02T04:00:52Z", "qf":" userid scanneddate", "wt":"json", "defType":"dismax", "version":"2.2", "rows":"50"}}, "response":{"numF

Re: problem with date searching.

2012-05-14 Thread ayyappan
select/?defType=dismax&q=+ibrahim.hamid+2012-02-02T04:00:52Z&qf=+userid+scanneddate&version=2.2&start=0&rows=50&indent=on&wt=json&&debugQuery=on -- View this message in context: http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761p3983802.html Sent from the Solr - User mailing

Re: problem with date searching.

2012-05-15 Thread ayyappan
if i use q=scanneddate:["2011-09-22T22:40:30Z" TO "2012-02-02T01:30:52Z"] . it is working fine . but when i tried with dismax query .it is not working . EX : select/?defType=dismax&q=["2011-09-22T22:40:30Z" TO "2012-02-02T01:30:52Z"]&qf=scanneddate&version=2.2&start=0&rows=50&indent=on&wt=json&&de

query with DATE FIELD AND RANGE query using dismax

2012-05-15 Thread ayyappan
Hi My queries are working with standard query handler but not in dismax. *it is working fine * EX : q=scanneddate:["2012-02-02T01:30:52Z" TO "2011-09-22T22:40:30Z"] . *Not Working :* EX defType=dismax&q=["2012-02-02T01:30:52Z" TO "2011-09-22T22:40:30Z"]&qf=scanneddate How can I check for