Issue in Solr Indexing

2011-05-26 Thread deepak agrawal
Hi All,

When i am Indexing the Record into the Solr it is successfully indexing and
after that i am committing that commit is also showing successfully.
but when i am going to search that particular record into the solr that time
i am not getting that record from Solr.
I am using Solr1.4.1 version.

any one can please suggest why that particular record is not indexing.I am
not getting any error from Catalina log file also.

Thanks in advance.


-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Problem related to Sorting in Solr1.4

2010-08-27 Thread deepak agrawal
Hi,

I have one Text fileld in our schema i want to do the sorting for that column.





I have these two columns i want to use the SORT for these two columns.
any one can please suggest what should i need to do for that.
I am currently using Solr1.4.

-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Re: ERROR:SCHEMA-INDEX-MISMATCH

2010-02-24 Thread deepak agrawal
Hi,

Thanks for the solution
Now its working..
But can you please help me how can i recover my old index which is having
the fields -


*
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4194304
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=0
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=78
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=5
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=228
*




On Wed, Feb 24, 2010 at 2:56 PM, Erik Hatcher wrote:

> The "long" field type changed from 1.3 to 1.4.  Set your fields to be of
> type "plong", and add the plong field type to your schema:
>
>  
>
> You'll see more about this in Solr's example schema.xml comments.
>
>    Erik
>
>
>
> On Feb 24, 2010, at 3:15 AM, deepak agrawal wrote:
>
>  Hi,
>>
>> I upgrade Solr v1.3 to v1.4 but in new version i still use the old index.
>> I changed the new schema with old fields also.
>>
>> I have fields in my schema -
>>
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> but after upgarding when i am searching i got the reult like this -
>>
>> *
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4194304
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=0
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=78
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=5
>> ERROR:SCHEMA-INDEX-MISMATCH,stringValue=228
>> *
>>
>> Please help me why this error is coming and how i can i solve this problem
>> and how can i use the old index in Solr v1.4.
>>
>>
>>
>>
>> --
>> DEEPAK AGRAWAL
>> +91-9379433455
>> GOOD LUCK.
>>
>
>


-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


ERROR:SCHEMA-INDEX-MISMATCH

2010-02-24 Thread deepak agrawal
Hi,

I upgrade Solr v1.3 to v1.4 but in new version i still use the old index.
I changed the new schema with old fields also.

I have fields in my schema -








but after upgarding when i am searching i got the reult like this -

*
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4194304
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=0
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=4
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=78
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=5
ERROR:SCHEMA-INDEX-MISMATCH,stringValue=228
*

Please help me why this error is coming and how i can i solve this problem
and how can i use the old index in Solr v1.4.




-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Query boosting

2010-02-18 Thread deepak agrawal
Hi,

i want to boost the result through query.
i have 4 fields in our schema.






If i search *deepak* then result should come in that order  -


All *UPDBY* having deepak then
All *To* having deepak then
All *CC* having deepak
All *BCC* having deepak

I am using Standard request handler. Please help me on this.
-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Problem with text field in Solr

2010-01-15 Thread deepak agrawal
HI,

I am using Solr in which I have BODY field as text.
But when i am searching with BODY having word like *aviation*

when i am Searching *BODY:avia** (aviation is coming)
when i am Searching *BODY:aviat** (aviation is coming)
when i am searching *BODY:aviati** (aviation is not coming)
when i am searching *BODY:aviatio** (aviation is not coming)
when i am searching *BODY:aviation** (aviation is not coming)

Please help me how  can i search these type of world with (*aviati*,**
aviatio*,**aviation**)

Below is the detail of How we are using BODY with Text.

**


  






   


  
  







  


-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


How to Post Search Query

2009-11-10 Thread deepak agrawal
Hi All,

My Solr Search query is too long so i am not able to put it through get
method.
So i want to post it through POST method.
is there any way through i can POST the Search Query through POST Method.

-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


How TEXT field make sortable?

2009-11-09 Thread deepak agrawal
Can some one help me how we can sort the text field.



-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Re: Problem regarding Solr MultiCore

2009-08-12 Thread deepak agrawal
yaa it points the directory contains solr.xml.
But Solr Folder having the conf and bin folder.
for multicore any other thing is required.


2009/8/12 Noble Paul നോബിള്‍ नोब्ळ् 

> It somehow looks that the solr is started as a single core. are you
> sure the solr.solr.home points to a directory which contains the
> solr.xml
>
> On Wed, Aug 12, 2009 at 4:00 PM, deepak agrawal wrote:
> > Hi all,
> >
> > I am having a solr single instance.Now i just want to use Solr Multi
> Core.
> > So for this i just change solr.xml  -
> >
> > 
> >
> >   > instanceDir="C:\PointCross\WIP\DevBuild\trunk\Orchestra
> Product\Search\solr"
> > dataDir="C:\Orchestra\Search\SOLR\data" />
> > 
> >  
> >
> > Now i have a solr directory(solr/conf/) and data directory above given
> > path.when i am using
> > http://localhost:8080/solr/admin/
> >
> > then it is working fine.
> > But when i am using - *http://localhost:8080/solr/admin/cores*
> > then following error occur -
> >
> > *type* Status report
> >
> > *message* */solr/admin/cores*
> >
> > *description* *The requested resource (/solr/admin/cores) is not
> available.*
> >
> > So can  you please help me what are the changes required for Solr
> Multicore.
> >
> >
> > --
> > DEEPAK AGRAWAL
> > +91-9379433455
> > GOOD LUCK.
> >
>
>
>
> --
> -
> Noble Paul | Principal Engineer| AOL | http://aol.com
>



-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Problem regarding Solr MultiCore

2009-08-12 Thread deepak agrawal
Hi all,

I am having a solr single instance.Now i just want to use Solr Multi Core.
So for this i just change solr.xml  -



  
 
  

Now i have a solr directory(solr/conf/) and data directory above given
path.when i am using
http://localhost:8080/solr/admin/

then it is working fine.
But when i am using - *http://localhost:8080/solr/admin/cores*
then following error occur -

*type* Status report

*message* */solr/admin/cores*

*description* *The requested resource (/solr/admin/cores) is not available.*

So can  you please help me what are the changes required for Solr Multicore.


-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Problem Regarding More Like This Handler

2009-05-31 Thread deepak agrawal
Hi,

I am using Solr.In that i am using Standered Request handler.
- 
- 
- 
  explicit
- 
  
  
I am indexed data with that handler.In Our Schema there is a BODY Tag.In
that i stored the document content.
Now i am going to get some Most Interesting tirms from that content With
using More Like this Handler.
I configured More like this Handler In Config file like this  -
- 
- 
  1
  
  

For Getting the Interesting Tirms from the Content I am hitting that query
to the Solr.
http://localhost:8081/solr1/mlt/?q=A:15&mlt.mintf=3&mlt.minwl=2&mlt.interestingTerms=details&mlt.boost=true&mlt.match.include=false&mlt.fl=BODY&start=0&rows=1&mlt.maxntp=200

*For this i am getting Some interesting Tirms.But the Problem is that words
are note comming correctly.
like the words end with es,ies,y,ed  etc so they are coming without these.*
*
Example -
Duty comes Like Duti
puts comes like put
series comes like seri
settled comes like settl
*
So Please help me how can i get the exact words in More Interesting Tirms.

-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.


Regarding More Like This Handler

2009-05-28 Thread deepak agrawal
Hi,

I am using Solr.In that i am using Standered Request handler.
 *-* <http://localhost:8081/solr1/admin/file/?file=solrconfig.xml#> <
requestHandler name="*standard*" class="*solr.SearchHandler*" default="*true
*">
 *-* 
 *-* <http://localhost:8081/solr1/admin/file/?file=solrconfig.xml#> 
 * * *explicit*
*-* <http://localhost:8081/solr1/admin/file/?file=solrconfig.xml#> 
* * 
* * 

I am indexed data with that handler.In Our Schema there is a BODY Tag.In
that i stored the document content.
Now i am going to get some Most Interesting tirms from that content With
using More Like this Handler.
I configured More like this Handler In Config file like this  -
 *-* <http://localhost:8081/solr1/admin/file/?file=solrconfig.xml#> <
requestHandler name="*/mlt*" class="*solr.MoreLikeThisHandler*">
 *-* <http://localhost:8081/solr1/admin/file/?file=solrconfig.xml#> 
 * * *1*
* * 
* * 

For Getting the Interesting Tirms from the Content I am hitting that query
to the Solr.
http://localhost:8081/solr1/mlt/?q=A:15&mlt.mintf=3&mlt.minwl=2&mlt.interestingTerms=details&mlt.boost=true&mlt.match.include=false&mlt.fl=BODY&start=0&rows=1&mlt.maxntp=200

*For this i am getting Some interesting Tirms.But the Problem is that words
are note comming correctly.*
*like the words end with es,ies,y,ed  etc so they are coming without these.*
*Example - *
*Duty comes Like Duti*
*puts comes like put*
*series comes like seri*
*settled comes like settl*
**
*So Please help me how can i get the exact words in More Interesting Tirms.*

-- 
DEEPAK AGRAWAL
+91-9379433455
GOOD LUCK.