~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301) 896-1604
Mobile - (703) 403-0340
.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301) 896-1604
Mobile - (703) 403-0340
Actually, the relevance is the primary sort, and the date is the secondary
sort. Still the same sort problem. Any help will be greatly appreciated.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
?
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301) 896-1604
Mobile - (703) 403-0340
during the indexing. I hope Nutch can boost fields, too. Any help would
be appreciated.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301
xception. Also, the wildcard search by default doesn't handle prefix
wildcard searches such as "*at". You can either use the WildCardQuery
(something like that) or error trap and give a message like "Invalid query.
Try again." Hope this helps.
~~~~~~~~
Can the boosting be greater than 2.0? For example,
"field.setBoost((float)20.0)".
~~~~~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax -
titleField.setBoost((float)1.8);
doc.add(titleField);
keywordField.setBoost((float)1.6);
doc.add(keywordField);
summaryField.setBoost((float)1.2);
doc.add(summaryField);
When searching.
field.getBoost() always = 1.0
~
Daniel Clark, Senior Consultant
I have a copy of the book. It tells you how to index as I noted, but not
how to retrieve the date from search results. document.get("date") only
returns Strings. How do I get it to return the Date object?
~~~~~
Daniel Clark, Senior Consultant
Syba
ing values?
~~~~~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301) 896-1604
Mobile - (703
x27;m
using version 1.4.3. Any help will be appreciated.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax - (301) 896-1604
Mobile - (703) 403
That's what I'm doing now, but I was thinking that if I limit the number of
results I get back, I can save query time. Maybe I'm wrong?
~~~~~~~~~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 8
Is there a way to limit the number of hits I want returned? Sometimes I
just want one document.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896-1103
Office Fax
You're right, Peter. I did some thorough testing today and I was very
wrong. I'm now using MultiFieldQueryParser as Erik suggested.
~~~~~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Be
m, Soundex, and Standard analyzers at once. And search using the custom
analyzer that has Stem, Soundex, and Standard. I can live with just having
all on compared to only having one of the three. Please, advise. Thanks
again for your swift responses.
~~~~~~~
, use SoundexAnalyzer in query.
Else if user selects Stem option, use SnowballAnalyzer in query.
Else use StandardAnalyzer.
~
Daniel Clark, Senior Consultant
Sybase Federal Professional Services
6550 Rock Spring Drive, Suite 800
Bethesda, MD 20817
Office - (301) 896
16 matches
Mail list logo