> I can think of two ways to do what you want, one with a parsed query
and one without. With a parsed query:
> Query q = QueryParser.parse("+field1:silly +(field2:example
field3:example)",
> "field1", new StopAnalyzer());
When I try this ( using Lucene 2.0 API ) I g
I am using Lucene 2.0 and trying to use the MultiFieldQueryParser
in my search.
I want to limit my search to documents which have "silly"
in "field1" ...within that subset of documents, I want documents which
have
"example" in "field2" OR "field3"
The code fragment below is my attempt at this
Currently, my Lucene search code allows the user to specify
which fields are searched ...I have now had a request to enhance
the code to allow the users to specify that certain
searchfields contain one value and other ( or all other ) fields
contain a different value.
In Luke I can do following
I have "Tokenized" multiple items into one index directory as
illustrated below.
I can successfully search on any one indexed field ( as illustrated
below )
...the question is how would I search on all my indexed fields at one
...any ideas ? I have heard of MultiSearch but I am not sure if that
Thanks for reply Jeroen ...does anyone have any
experience / comments regarding the use of PDFTextStream
versus PDFExtractor for working with PDF files ...the
issue for us is that there appears to be very high
memory usage when we work with PDF's using PDFExtractor.
I have heard that PDFTextStream
Hi,
I am new to Lucene and looking at some existing Lucene code
I am confused about the relationship ( if any ) between
org.apache.slide.extractor.PDFExtractor methods and org.PDFBox.cos
methods
for the purposes of working with PDF files.
I have found info on the web regarding PD