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
content. 

How limiting the content of content field in search results and display
over there .

i need like this 



*Grammer1.docx*
Blazing – burring Faceted Cluster – to gather Geospatial Replication –
coping Distinguish – apart from Flawlessly – perfectly Recipe –method
Concentrated inscription 
Last Modified : 2011-12-11T14:42:27Z

*who.pdf*
Who We Are Table of contents 1 Solr Committers (in alphabetical
order)fgfgfgfg2 2 Inactive Committers (in alphabetical orde 

*version_control.pdf*
Solr Version Control System Table of contents 1 Overview.gfgfgfg 2 Web Acce 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/limiting-the-content-of-content-field-in-search-results-tp3578859p3578859.html
Sent from the Solr - User mailing list archive at Nabble.com.


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.handler.admin.CoreAdminHandler.handleRequestBody(Core
AdminHandler.java:111)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandl
erBase.java:131)
at
org.apache.solr.servlet.SolrDispatchFilter.handleAdminRequest(SolrDis
patchFilter.java:298)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilte
r.java:174)

please let me know .how to create dynamic core using SOLRJ.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944131.html
Sent from the Solr - User mailing list archive at Nabble.com.


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


   







--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3950398.html
Sent from the Solr - User mailing list archive at Nabble.com.


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

i am getting result 

if try different date range .

["2012-02-02T01:30:52Z" TO "2011-09-22T22:40:30Z"]

there is no record at all .please help me the same.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 - User mailing list archive at Nabble.com.


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":{"numFound":20,"start":0,"docs":[
  {
  ---
--
"scanneddate":["2012-02-02T04:00:52Z"],

},

--
View this message in context: 
http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761p3983801.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 list archive at Nabble.com.


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&&debugQuery=on&true

please comment on the same.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/problem-with-date-searching-tp3961761p3983807.html
Sent from the Solr - User mailing list archive at Nabble.com.


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 the date ranges  using solr's dismax query handler


--
View this message in context: 
http://lucene.472066.n3.nabble.com/query-with-DATE-FIELD-AND-RANGE-query-using-dismax-tp3983819.html
Sent from the Solr - User mailing list archive at Nabble.com.