: Hrm.. can we see a more specific example of the type of data you are trying to
: query against here?
As i understand the question, this is a fairly classic hierarchical
organization of documents. Documents Foo>Bar>Baz and Foo>Bar>Bax are both
children of Document Foo>Bar ... Foo>Barber is th
Thanks very much for your reply. I am having problems creating an
IndexReader object for this purpose. This is the relevant code for my
method:
public List wildSearch(File indexDir) throws Exception {
List searchResult = new ArrayList();
Directory fsDir=FSDirectory.get
Sounds you should use DBSight. Besides simple SQL crawler, you can adjust
ranking by time(freshness), efficient multi-valued facet search(tagging),
etc.
--
Chris Lu
-
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://se
: I was wondering why only the Field constructor which accepts a String offers
: Store and Index options? I understand there might be no logic in offering
: them for the TokenStream constructor, but what's wrong in Storing an input
: from a Reader, that 2.3.2 does not allow it?
if you want to stor
I would like to provide a simple web search of our web site. We have a
lot of dynamic content, and instead of searching through the database, I
would like to use some some sort of crawler to index the site. Is there
one available that generates Lucene indexes?
I looked into Nutch, but it loo
Hello,
Thanks for your interest. Actually, it's a normal unstructured text. In the
text, they might describe the number of animal or enumerate the kind of
animal one by one, etc. To me, it's very difficult to resolve this. I don't
have a clue until now.
All comments are VERY welcome.
Thanks.
Re
hossman wrote:
>
>
> : BESTOF( "apple"^10, "orange"^9, "pear"^8, "peach"^8, "grapes"^2 )
> :
> : So ideally in this field we want to find "apple", but would accept one
> of
> : the other pre-defined alternatives as a match. If the document field
> : contains apples it scores higher than if i
Here's your answer I think
http://wiki.apache.org/lucene-java/LuceneFAQ#head-133cf44dd3dff3680c96c1316a663e881eeac35a
In a nutshell, wildcard queries are not passed through an analyzer, although
they are
lower-cased by default. So you're indexing foobar but searching on _foobar
(after rewrit
First, have you tried looking at bq.toString() to see what your query looks
like?
But from your code, you're not assigning your createTerm to anything, so
your
BQ is constructed from two terms on "field" that have no values. You need
something like
bq.add(t.createTerm("foo), Occur.MUST);
Best
Er
What do your documents look like? Can you share more about the
problem? Is there some kind of structure that lets you count this
information?
-Grant
On Jun 15, 2008, at 5:08 AM, Sengly Heng wrote:
Hello all,
I am facing a problem when dealing a query such as "Finding all the
documents t
Also note, there is the contrib/benchmark source in Lucene that allows
one to do many of these tests in a "standard" way, such that the
results are easily reproducible.
Do you actually have a situation where you would ever see 8K threads?
Or even 4k? Or was this just for the purposes of t
Hi,
I have a small problem regarding QueryParser and WildcardQueries.
Basically, I'm indexing documents like this:
doc.add(new Field("title", "_FooBar", Field.Store.YES, Field.Index.TOKENIZED));
Afterwards I expected that this query would return the document above:
QueryParser parser = new Quer
Hi,
I'm trying to build my own query. I want to combine several TermQuery
+ 1 PrefixQuery in a BooleanQuery. The Code looks like this:
BooleanQuery bq = new BooleanQuery();
Term t = new Term("field", "");
t.createTerm("foo");
TermQuery tq = new TermQuery(t);
bq.add(tq, Occur.MUST);
t.create
Hi,
Guys please ignore this message i found the solution .
Just i have to search "sandy" and "professional"
sorry for misuse the mailing service .
sandyg wrote:
>
> Hi,
> Thnx for the help.But its not fullfilled my requirement.
> for example my record is likeid=121 ,name=sandy and
> desg=p
Hi,
Thnx for the help.But its not fullfilled my requirement.
for example my record is likeid=121 ,name=sandy and desg=professional.
Actually here default keyword is id
If i do search like id:"121" and name:"sandy" it
gives the result
But when i search name:"sandy"
15 matches
Mail list logo