Re: [fw-general] Zend Search Lucene: Searching for URLs

2007-04-09 Thread Dave Dash
ne_Field::Text($fieldName, $fieldValue[, $encoding]) > - > > b) construct query through API: > - > $term = new Zend_Search_Lucene_Index_Term('framework.zend.com', 'url') > $query = new Zend_Search_Lucene_Search_Query_Term($term); > >

Re: [fw-general] Zend Search Lucene: Searching for URLs

2007-04-03 Thread Dave Dash
nderstanding-field-types) > > and give an example of search query? > > > With best regards, > Alexander Veremyev. > > > Dave Dash wrote: >> So I've indexed a document that has a field called "url" filled with URLs >> (e.g. http://revi

[fw-general] Zend Search Lucene: Searching for URLs

2007-04-03 Thread Dave Dash
So I've indexed a document that has a field called "url" filled with URLs (e.g. http://reviewsby.us/, http://spindrop.us/, http://www.nabble.com, etc, etc). I can find these in Luke just fine by searching for the url (without the http:// in fact) But in my ZSL 0.9.1 app I get nothing. If I sear

[fw-general] Zend Search: Problem reading segments file from Apache Lucene 2.1

2007-03-28 Thread Dave Dash
I'm using Apache Lucene to index about 70K records The following was created: _1pp.cfs _2kk.cfs _3ff.cfs _4aa.cfs _555.cfs _588.cfs _5bb.cfs _5ee.cfs _5hh.cfs _5kk.cfs _5nn.cfs _5qq.cfs _5tt.cfs _5u4.cfs _5uf.cfs _5uq.cfs _uu.cfs segments.gen segments_bpj Zend Search Lucene however is looking f

[fw-general] Problem reading segments file from Apache Lucene

2007-03-28 Thread Dave Dash
-- View this message in context: http://www.nabble.com/Problem-reading-segments-file-from-Apache-Lucene-tf3481741s16154.html#a9718394 Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend_Search_Lucene new documents not found until optimized

2007-03-16 Thread Dave Dash
I have a table of records, and as soon as a new record is created, it makes a document in my ZSL index. However, querying that index does no good using ZSL, I do get a result in Luke. So I tinkered around and found out that if I run $index->optimize() after adding a new document, then I can find