Re: Solr search by segment

2009-06-03 Thread aidahaj

I must precise that I am running nutch-solr-integration and both schema.xml
are the same in nutch or in solr.
-- 
View this message in context: 
http://www.nabble.com/Solr-search-by-segment-tp23856569p23859728.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Solr search by segment

2009-06-03 Thread aidahaj

Yes it's already defined as String:
When I
make query by id or url it works but not the segment...
-- 
View this message in context: 
http://www.nabble.com/Solr-search-by-segment-tp23856569p23859699.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Solr search by segment

2009-06-03 Thread Otis Gospodnetic

What is the type of this field?  Use something like "string" type.

 Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



- Original Message 
> From: aidahaj 
> To: solr-user@lucene.apache.org
> Sent: Wednesday, June 3, 2009 2:18:37 PM
> Subject: Solr search by segment
> 
> 
> Hi,
> I have an index in wich I am always indexing the same documents
> (re-indexing).
> So I need to search for them by their number of segment.
> When I ask solrj for the documents by their segment [for example:
> solrj.query("segment:20090603142546");] , he doesn't return any thing. I
> checked the schema.xml and the field segment is stored and indexed.
> What may I do?
> I am looking for your help. Thanks.
> -- 
> View this message in context: 
> http://www.nabble.com/Solr-search-by-segment-tp23856569p23856569.html
> Sent from the Solr - User mailing list archive at Nabble.com.



Solr search by segment

2009-06-03 Thread aidahaj

Hi,
I have an index in wich I am always indexing the same documents
(re-indexing).
So I need to search for them by their number of segment.
When I ask solrj for the documents by their segment [for example:
solrj.query("segment:20090603142546");] , he doesn't return any thing. I
checked the schema.xml and the field segment is stored and indexed.
What may I do?
I am looking for your help. Thanks.
-- 
View this message in context: 
http://www.nabble.com/Solr-search-by-segment-tp23856569p23856569.html
Sent from the Solr - User mailing list archive at Nabble.com.