Problem in Out Put of Search

2009-01-08 Thread rohit arora

Hi,

I have installed solr lucene 1.3. I am facing a problem wile searching it did 
not provides multiple records.

Instead of providing multiple records it provides single record multiple times..

with regards
 Rohit Arora



  

Re: Problem in Out Put of Search

2009-01-08 Thread rohit arora

Hi,

 It gives this out put ..

doc
    float name=score5.361002/float
    str name=id8232/str
    str name=nameQuality Testing International/str
    str name=large_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance. Profile for exhibit include 
Customer profiling; customer marketing; loyalty systems and operators; customer 
intelligence; market research and analysis; customer experience management; 
employee motivation and incentivising; data warehousing/data mining; employee 
training; contact/call centre; customer service management; sales promotions 
and incentives; field marketing; CRM solutions.
    /str
    str name=small_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance.
    /str
/doc
doc
    float name=score5.361002/float
    str name=id8232/str
    str name=nameQuality Testing International/str
    str name=large_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance. Profile for exhibit include 
Customer profiling; customer marketing; loyalty systems and operators; customer 
intelligence; market research and analysis; customer experience management; 
employee motivation and incentivising; data warehousing/data mining; employee 
training; contact/call centre; customer service management; sales promotions 
and incentives; field marketing; CRM solutions.
    /str
    str name=small_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance.
    /str
/doc


If you look it provide same record of (id,name,large_desc,small_desc) multiple 
times..

I have attached the out put in a (.txt) file..

with regards
 Rohit Arora





--- On Thu, 1/8/09, Erik Hatcher e...@ehatchersolutions.com wrote:
From: Erik Hatcher e...@ehatchersolutions.com
Subject: Re: Problem in Out Put of Search
To: solr-user@lucene.apache.org
Date: Thursday, January 8, 2009, 7:10 PM

Please provide an example of what you mean.  What and how did you index?   What
was the query?

Erik

On Jan 8, 2009, at 8:34 AM, rohit arora wrote:

 
 Hi,
 
 I have installed solr lucene 1.3. I am facing a problem wile searching it
did not provides multiple records.
 
 Instead of providing multiple records it provides single record multiple
times..
 
 with regards
  Rohit Arora
 
 
 




  doc
float name=score5.361002/float
str name=id8232/str
str name=nameQuality Testing International/str
str name=large_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance. Profile for exhibit include 
Customer profiling; customer marketing; loyalty systems and operators; customer 
intelligence; market research and analysis; customer experience management; 
employee motivation and incentivising; data warehousing/data mining; employee 
training; contact/call centre; customer service management; sales promotions 
and incentives; field marketing; CRM solutions.
/str
str name=small_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance.
/str
/doc
doc
float name=score5.361002/float
str name=id8232/str
str name=nameQuality Testing International/str
str name=large_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance. Profile for exhibit include 
Customer profiling; customer marketing; loyalty systems and operators; customer 
intelligence; market research and analysis; customer experience management; 
employee motivation and incentivising; data warehousing/data mining; employee 
training; contact/call centre; customer service management; sales promotions 
and incentives; field marketing; CRM solutions.
/str
str name=small_desc
Quality Testing International the ideal exhibition for measuring technique 
testing of materials and quality assurance.
/str
/doc

Re: Problem in Out Put of Search

2009-01-08 Thread rohit arora

Hi,

I have add one document only single time but the out put provided by lucene 
give me
the same document multiple times..

If i specify rows=2 in out put same document will be 2 times.
If i specify rows=10 in out put same document will be 10 times.

I have already defined 'id' field as a uniqueKey in the schema.xml

with regards
 Rohit Arora

--- On Fri, 1/9/09, Shalin Shekhar Mangar shalinman...@gmail.com wrote:
From: Shalin Shekhar Mangar shalinman...@gmail.com
Subject: Re: Problem in Out Put of Search
To: solr-user@lucene.apache.org
Date: Friday, January 9, 2009, 11:55 AM

There are two documents in that response. Are you adding the same document
multiple times to Solr?

You can also specify a uniqueKey in the schema.xml which will make sure that
Solr keeps only one document for a given key and removes the duplicate
documents.

In the response you have pasted, the 'id' field looks like it should
have
been defined as a uniqueKey.

On Fri, Jan 9, 2009 at 11:12 AM, rohit arora
rohitarora...@yahoo.comwrote:


 Hi,

 It gives this out put ..

 doc
 float name=score5.361002/float
 str name=id8232/str
 str name=nameQuality Testing
International/str
 str name=large_desc
 Quality Testing International the ideal exhibition for measuring technique
 testing of materials and quality assurance. Profile for exhibit include
 Customer profiling; customer marketing; loyalty systems and operators;
 customer intelligence; market research and analysis; customer experience
 management; employee motivation and incentivising; data warehousing/data
 mining; employee training; contact/call centre; customer service
management;
 sales promotions and incentives; field marketing; CRM solutions.
 /str
 str name=small_desc
 Quality Testing International the ideal exhibition for measuring technique
 testing of materials and quality assurance.
 /str
 /doc
 doc
 float name=score5.361002/float
 str name=id8232/str
 str name=nameQuality Testing
International/str
 str name=large_desc
 Quality Testing International the ideal exhibition for measuring technique
 testing of materials and quality assurance. Profile for exhibit include
 Customer profiling; customer marketing; loyalty systems and operators;
 customer intelligence; market research and analysis; customer experience
 management; employee motivation and incentivising; data warehousing/data
 mining; employee training; contact/call centre; customer service
management;
 sales promotions and incentives; field marketing; CRM solutions.
 /str
 str name=small_desc
 Quality Testing International the ideal exhibition for measuring technique
 testing of materials and quality assurance.
 /str
 /doc


 If you look it provide same record of (id,name,large_desc,small_desc)
 multiple times..

 I have attached the out put in a (.txt) file..

 with regards
  Rohit Arora





 --- On *Thu, 1/8/09, Erik Hatcher e...@ehatchersolutions.com*
wrote:

 From: Erik Hatcher e...@ehatchersolutions.com
 Subject: Re: Problem in Out Put of Search
 To: solr-user@lucene.apache.org
 Date: Thursday, January 8, 2009, 7:10 PM


 Please provide an example of what you mean.
  What and how did you index?   What
 was the query?

   Erik

 On Jan 8, 2009, at 8:34 AM, rohit arora wrote:

 
  Hi,
 
  I have installed solr lucene 1.3. I am facing a problem wile
searching it
 did not provides multiple records.
 
  Instead of providing multiple records it provides single record
multiple
 times..
 
  with regards
   Rohit Arora
 
 
 





-- 
Regards,
Shalin Shekhar Mangar.



  

Unicode characters that are not legal XML characters;

2008-12-23 Thread rohit arora

Hi,

When i give post command to build my Index on my (databases / XML) file it 
gives me
an error which is like .

com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, 
code 22))
 at [row,col {unknown-source}]: [1676,86]

I find a inbuild function in perl to convert all my character date in UTF-8 
format
I find that there are many Unicode Character that are not legal XML Character.

Can any one help me to find the list of all the legal XML Character so that 
I can strip all character except those characters.


with regards
 Rohit Arora



  

Unicode characters that are not legal XML characters

2008-12-23 Thread rohit arora


Hi,

When i give post command to build my Index on my (databases / XML) file it 
gives me
an error which is like .

com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, 
code 22))
 at [row,col {unknown-source}]: [1676,86]

I find a inbuild function in perl to convert all my character data in UTF-8 
format
I find that there are many Unicode Character that are not legal XML Character.

Can any one help me to find the list of all the legal XML Character so that 
I can strip all character except those characters.


with regards
 Rohit Arora



  

Problem in Date Format in Solr 1.3

2008-12-18 Thread rohit arora


Hi

I have upgraded from solr lucene 1.2 to solr lucene 1.3. I have coppied
all the fieldtype tags in types tag of   schema.xml from the 
solr 1.2 to solr 1.3 it gives an error..

SEVERE: org.apache.solr.common.SolrException: Invalid Date in Date Math 
String:'2006-Oct-10T10:06:13Z'

can you help me in this problem.

with regards
   Rohit Arora





  

http://localhost:8983/solr/core0/update

2008-06-19 Thread rohit arora

Hi,

I have created 2 cores ( core0 and core1 ) now I want to update post.sh to 
update data
for core0 .

I changed 
URL=http://localhost:8983/solr/update

to 
URL=http://localhost:8983/solr/core0/update

in post.sh
but while posting it gives error

curl: (7) couldn't connect

Any help would be greatly appreciated

with regards
 Rohit Arora





  

Re: Strategy for presenting fresh data

2008-06-11 Thread rohit arora



Hi,

I am new to Solr Lucene I have only one defaule core i am working on creating 
multiple core. 
Can you help me in this matter.

with regards
nbsp;Rohit Arora
--- On Thu, 6/12/08, James Brady lt;[EMAIL PROTECTED]gt; wrote:
From: James Brady lt;[EMAIL PROTECTED]gt;
Subject: Strategy for presenting fresh data
To: solr-user@lucene.apache.org
Date: Thursday, June 12, 2008, 8:54 AM

Hi,
The product I'm working on requires new documents to be searchable  
very quickly (inside 60 seconds is my goal). The corpus is also going  
to grow very large, although it is perfectly partitionable by user.

The approach I tried first was to have write-only masters and read- 
only slaves with data being replicated from one to another postCommit  
and postOptimise.

This allowed new documents to be visible inside 5 minutes or so (until  
the indexes got so large that re-opening IndexSearchers took for ever,  
that is...), but still not good enough.

Now, I am considering cutting out the commit / replicate / re-open  
cycle by augmenting Solr with a RAMDirectory per core.

Your thoughts on the following approach would be much appreciated:

Searches would be forked to both the RAMDirectory and FSDirectory,  
while writes would go to the RAMDirectory only. The RAMDirectory would  
be flushed back to the FSDirectory regularly, using  
IndexWriter.addIndexes (or addIndexesNoOptimise).

Effectively, I'd be creating a searchable queue in front of a  
regularly committed and optimised conventional index.

As this seems to be a useful pattern (and is mentioned tangentially in  
Lucene in Action), is there already support for this in Lucene?

Thanks,
James